db9e76bd78
Move code from TDBObjectEditor.GetDefiners to new TDBConnection.AllUserHostCombinations
2019-07-22 07:44:19 +02:00
2a91a13b42
Issue #677 :
...
* drop workaround for application crash on WinXP, when loading newer libmariadb (see #79 )
* raise TDbLib's own exception instead of baking an own one with less details. Probably helps in debugging: https://www.heidisql.com/forum.php?t=34044
* rename EDatabaseError to EDbError, to overcome naming conflict in DB unit
* load libpq.dll always with path, which should anyway work better than without it. See http://www.heidisql.com/forum.php?t=22514
2019-07-08 20:23:05 +02:00
e804db8fcc
Issue #677 : provide a new library combobox in MySQL mode, for selecting any of the libmysql/mariadb.dll files from the application directory
2019-07-05 06:44:10 +02:00
a9fd8be2f3
Fix new crash in ConnectionInfo (mouse over server version status panel)
2019-06-30 08:59:49 +02:00
92a34000e3
Escape double quotes in SSH password for plink command. Closes issue #261
2019-06-29 08:02:52 +02:00
f2ed7b01a1
Use UnescapeString() to remove more escape sequences than a duplicated single quote. Move ExtractLiteral() to TDBConnection, as UnescapeString() depends on the connection type. Closes #690 .
2019-06-26 19:52:22 +02:00
a6ea858880
Use the same new dll loading mechanism also for PostgreSQL's libpq.dll
2019-06-22 17:57:46 +02:00
1d6a415f5f
Refactor: rename mysql_structures unit neutrally to dbstructures
2019-06-22 14:26:41 +02:00
c844032197
Use mysql_optionsv to tell newer MySQL servers HeidiSQL's program_name, visible then in performance_schema.session_connect_attrs
2019-06-19 22:47:34 +02:00
59e3ba4b34
Fix duplicated application directory prepended on library path
2019-06-19 22:45:14 +02:00
a77eedde58
Experimental: introduce TDbLib and descendant TMySQLLib, and outsource dll loading mechanism there, out of DoBeforeConnect
2019-06-19 21:15:22 +02:00
fb2e3ef029
Cleartext syntax changes
2019-06-12 06:36:02 +02:00
0facfaa5cc
Add cleartext option to sessions
2019-06-12 06:36:02 +02:00
bda7b932d1
Define default values for port and username of all supported server types. Also, do not change them in the session manager, when user selects a different sub type of the same server.
2019-06-09 09:27:17 +02:00
6e2bca2ffa
Fix compiler warning: "For loop control variable must be simple local variable"
2019-06-03 20:10:31 +02:00
3a891b8883
Use full path when loading libmariadb.dll or libmysql.dll, so we don't accidentally prefer a libmariadb.dll somewhere on the users harddisk over the local libmysql.dll. Only if that also fails, fall back to load it from somewhere else. This hopefully helps for debugging SSL connection problems. See https://www.heidisql.com/forum.php?t=27158#p27219
2019-06-01 13:36:09 +02:00
3d76db0f07
Fix wrong writing of TLS protocol version. See https://www.heidisql.com/forum.php?t=27158#p27211
2019-05-30 21:07:14 +02:00
51da7c8efc
Set MARIADB_OPT_TLS_VERSION to define which TLS protocol versions are allowed. See https://www.heidisql.com/forum.php?t=27158
2019-05-22 21:36:53 +02:00
178d92e273
Cache the myriad of SELECT 123::regclass queries in a hash table on the PostgreSQL connection object. Closes #249 , closes #538
2019-05-18 08:27:50 +02:00
2854c74d13
Remove -batch parameter from plink command line, so we have a prompt when a host key is not yet cached. Closes #639
2019-05-15 20:21:01 +02:00
f893a8de75
Add support for SSH tunneled PostgreSQL connections. See issue #78
2019-05-14 07:57:00 +02:00
927e144cce
Set up SSL parameters not only in TCP/IP mode
2019-05-14 06:59:59 +02:00
8ac1c745b1
Issue #640 : prevent crashes when future versions of the server return key clauses unsupported by HeidiSQL
2019-05-06 20:33:07 +02:00
3a4578e67b
Issue #640 : fix crash in table editor with DESC/ASC in a key
2019-05-06 20:24:00 +02:00
2f77c9ea8c
Issue #637 : No need to upper-case when calling StartsWith() with ignore case flag. Also, prefer StartsWith() over various ugly calls to UpperCase(Copy()).
2019-05-06 06:32:09 +02:00
54c6d9123f
Detect ON UPDATE clause's content with a two-step approach, so it does not eat a potentially existing COMMENT clause after it. Closes #637 . Broken in 9fc7150a9fc15d400a836df8b20765a1864a9c80 for #74 .
2019-05-05 20:01:46 +02:00
fad93ace54
Issue #496 : show UNKNOWN data type in table editor for MSSQL and MySQL, as already for PG. Avoids casting its values to int for the data grid, and at least does not show the data type from the prior column in the table editor.
2019-04-22 13:47:41 +02:00
9fc7150a9f
Issue #74 : attempt to support all kinds of expressions in column DEFAULT + ON UPDATE clauses
2019-04-21 15:40:18 +02:00
f23e8884a1
Fix TDBConnection.ParseViewStructure so it orders the result from IS.COLUMNS by their ordinal/natural position. Closes #617 .
2019-04-19 12:08:23 +02:00
85a8355e1d
Add new log category lcScript, for queries from large scripts and import operations. By default disabled, which should speed up importing large files.
2019-04-16 07:19:47 +02:00
975e1528e8
Issue #521 : make debug output more readable
2019-04-16 06:38:06 +02:00
f870c81770
Issue #521 : increase waiting time after PLink output, from 1s to 2s, for slow connections.
2019-04-16 06:32:27 +02:00
9ea65d4ef2
Issue #521 : disable verbosity of plink again, due to weird extra dialogs appearing now
2019-04-15 20:15:48 +02:00
141c348a5d
Issue #521 : add -ssh and -v arguments again to plink.exe command, as proposed in https://github.com/HeidiSQL/HeidiSQL/issues/521#issuecomment-482897896
2019-04-14 14:05:21 +02:00
f5734fece1
Issue #521 : use -batch instead of -ssh parameter for plink, to prevent creating a shell and to reduce interactive prompts
2019-04-13 08:38:35 +02:00
2db3fffa71
Support selecting wrong cased columns in MariaDB 10.4, so the user manager shows up. Closes #599 .
2019-04-04 20:35:44 +02:00
1f30684745
Silence EAccessViolation in PQfinish() of 32bit libpq.dll . Closes #37
2019-03-30 09:26:28 +01:00
dacc1d7c99
Issue #577 : skip informational error output from new plink version
2019-03-28 20:04:59 +01:00
d6dc4cde2e
Support spaces in definer of a view. Closes #571 .
2019-03-14 20:06:17 +01:00
d6c35d9474
Implement TPGConnection.SetCharacterSet to get a persistent utf-8 setting. Closes issue #22 .
2019-03-07 12:19:59 +01:00
880fdb47ad
Catch all kinds of exceptions when connecting to MSSQL did not work, not just EOleException. Seems the thrown exception changed, probably when switching OLEDB driver. Closes #517 .
2019-03-07 10:03:05 +01:00
c6971c66bb
Call PQfinish() when PostgreSQL connection failed to initialize. Closes #544 .
2019-02-19 19:26:42 +01:00
638b5e562a
Issue #516 : Display MemSQL icon and name for those sessions
2019-02-16 10:16:47 +01:00
8cf93ab910
Issue #516 : Silence error when retrieving unavailable (and non-vital) "Row_format" column from SHOW TABLE STATUS on MemSQL server
2019-02-16 10:02:31 +01:00
25394f423f
Issue #496 : fix potentially undefined result of TAdoDBQuery.IsNull
2019-02-10 13:13:14 +01:00
074f61c318
Silence EOleError when checking field value for NULL: "Multiple-step operation generated errors. Check each status value.". Closes #496
2019-02-10 13:09:16 +01:00
06df04b45e
Implement input box for user/password prompt from plink process. Password prompt hides characters, like advised on https://stackoverflow.com/a/21122864/4110077 . Closes #129 .
2019-01-02 20:30:47 +01:00
7417cf003f
Modify declaration of mysql_options() API method, so its second parameter is guaranteed to be a 32bit integer. Fixes failures when setting MYSQL_PLUGIN_DIR in 64bit mode. Closes #163 .
2018-12-28 20:15:30 +01:00
39f06c849e
Pressing enter in query editor with opened proposal dropdown with an underlying identifier, containing a quote char to the left, quoted that quote again, resulting in a quote mess. Change that behavior and tell HeidiSQL to force quoting if the left char is a quote. Closes #6 .
2018-12-25 12:13:24 +01:00
b41baac3a8
Rephrase default names of "MySQL *" network types to "MariaDB or MySQL *"
2018-12-24 14:41:49 +01:00