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
993fdec3df
Silence potential crashes in TDBConnection.PrefetchCreateCode, when Heidis cached list of tables has a table which does not exist at the time when the proposal shows up. Closes #452 .
2018-12-20 11:50:38 +01:00
c757cf0c4b
Issue #452 : Rename TDBConnection.GetLastError to GetLastErrorMsg, due to a gutt feeling the name conflicts with Windows.GetLastError in some crashes.
2018-12-20 11:47:50 +01:00
f3dc05de7b
Code cosmetic: use IfThen() in some places for having less code
2018-12-15 18:39:55 +01:00
76825bcc20
Display server's current date time instead of useless UTC time in status bar
2018-12-13 21:59:21 +01:00
ac63d5f613
When getting CREATE code of all database objects in completion proposal, skip triggers when SHOW CREATE TRIGGER is not yet supported. Closes #111 .
2018-12-11 21:01:51 +01:00
86684ebde3
Force a minimum of 1 second waiting time after creating the plink.exe process before trying to access the established tunnel. Could help users which have set it to "0", accidentally or intentionally, and experiencing connection problems with that. Related to #418 .
2018-12-05 20:19:57 +01:00
0a5406834c
Cast date/time columns to char on MySQL when generating an all-column filter. Closes #392 .
2018-11-28 21:18:25 +01:00
ac2f7cf541
Fix various unused default session values when creating a new session
2018-11-26 19:36:56 +01:00
611c311153
Fix sloppy code from damhye in TDBQuery.GetColBinData(), see https://www.heidisql.com/forum.php?t=24843
2018-11-25 13:40:14 +01:00
b0c0921d97
Cancel SQL export when target server barfs with error 1049 (unknown database). Closes #299
2018-11-25 13:31:05 +01:00
a3c2c3e676
Fall back to insecure TLS 1.0 connections with ADO provider "SQLOLEDB" when newer "MSOLEDBSQL" is not available. Closes issue #237
2018-11-03 18:16:26 +01:00
f5e575e6b8
Prefer 127.0.0.1 over localhost for connecting to a SSH tunnel. Probably fixes issue #381 .
2018-10-31 08:09:58 +01:00
c749c061a5
Switch to Microsoft OLE DB Driver for SQL Server
...
SQLOLEDB provider is for deprecated Microsoft OLE DB Provider for SQL
Server, which is no longer supported.
See https://blogs.msdn.microsoft.com/sqlnativeclient/2017/10/06/announcing-the-new-release-of-ole-db-driver-for-sql-server/
Fixes #237
2018-10-31 07:29:22 +01:00
3576f76438
Fix comparison of table names on servers with lower_case_table_names=1 or 2 (both insensitive). Affects SQL export, which is calling PrepareColumnAttributes since recently. Closes #168 .
2018-06-26 20:53:56 +02:00
8202e76b92
Distinguish between multiple stored procedures with different argument list, on PostgreSQL. Closes #58 .
2018-04-09 22:17:04 +02:00
83d6b02d7c
Display tenths of a second through FormatTimeNumber. Used by query running status, table tools dialog and some more.
2018-03-18 21:17:33 +01:00
194f26bfac
Quote column in WHERE clause of automated query for finding locked tables in database. Closes #173
2018-03-01 20:15:04 +01:00
52c3fb43a2
Fix detection of PostgreSQL version ignoring the 3rd version segment, and use the same logic as for MySQL again. See issue #137 .
2018-02-14 07:44:26 +01:00
0dee2d35ba
Fix version detection on PostgreSQL, when there is no third segment in the version string. Closes #137 .
2018-02-13 22:05:47 +01:00
651b485af3
Apply fix from forum user damhye, for wrong octet length of exported blob data. See https://www.heidisql.com/forum.php?t=24843
2018-02-05 19:24:22 +01:00
3d698f9f68
Disable SSH tunnel connections on Windows 10 S, as a requirement for publishing HeidiSQL in the Windows App store, #60 .
2018-01-31 18:25:12 +01:00
5a8a4af29a
Rename helpers unit to apphelpers, to overcome a naming conflict with the FireMonkey unit FMX.Canvas.GPU.Helpers. Closes #102 .
2018-01-22 19:48:17 +01:00
f2da91be65
Suppress errors in LoadLibrary(libmariadb.dll) on Windows XP. Instead, try loading the XP-compatible libmysql.dll v5.6.6. Closes #79 .
2018-01-09 21:03:50 +01:00
f5d9603549
Support newer MariaDB syntax for column default:
...
* "DEFAULT current_timestamp()" without precision
* "DEFAULT 0" without quotes around numbers
Closes #68
2018-01-08 11:17:35 +01:00
d3856282d1
Update libmysql.dll to libmariadb.dll from the current 10.2.12 GA release. Leave support for libmysql, for users which don't yet have the new file in their Heidi directory. Should fix non working SSL connections, like described here: https://www.heidisql.com/forum.php?t=19494
2018-01-06 20:34:49 +01:00
9b167c2015
Remove unused variable
2017-12-30 15:01:18 +01:00
d057f27a4f
Cast result from LOAD_FILE() command as utf8 string, to fix encoding errors in view editor. Closes #61 .
2017-12-30 14:01:42 +01:00
dac303d8f6
Introduce argument indexes in some translation strings, to fix crashes with Japanese and probably other languages, when grammar changes the order of arguments. Closes #55 .
2017-12-22 10:28:15 +01:00
19a1c3fbb4
Refactor exclusion of virtual columns in various places:
...
* introduce TDBQuery.ColIsVirtal() returning a boolean for a column index, and use that instead of examining a columns virtuality everywhere
* exclude virtual column when exporting SQL code in the grid export dialog - see #53
* sql export dialog must not activate edit mode on a result, as this introduces endless loops
* instead, move some code out of PrepareEditing into PrepareColumnAttributes, which we can now call separately without activating edit mode
2017-12-22 10:07:17 +01:00
c2594e40c0
Find out whether the previously selected database has some locked tables, and if so, don't select it at startup time. Closes #49
2017-12-21 15:25:03 +01:00
4101350163
Support quote chars other than the relevant one within identifiers. For example "mycolumn"
or "mycolumn
" ... or even worse: "
mycolumn"
. Closes #44 .
2017-12-14 20:37:27 +01:00
d029a83e8b
Update url to issue tracker and copyright year
2017-12-02 14:58:54 +01:00
88bb7eb376
Simplify regular expression for extracting column details in ParseTableStructure(), so it does not barf on huge length/set. Fixes issue #2 .
2017-11-06 22:04:34 +01:00
e17fc0291b
Save session tree color when creating a copy of a session. See https://www.heidisql.com/forum.php?t=23796
2017-05-11 18:00:47 +00:00
38cfdd0595
Fix detection of column types with DEFAULT CURRENT_TIMESTAMP(123). See https://www.heidisql.com/forum.php?t=17585
2017-04-01 06:52:04 +00:00
209f398dec
Silence dumb exceptions from mysql_ping() call. See https://www.heidisql.com/forum.php?t=23483
2017-03-07 20:19:36 +00:00
b6e1f8012e
Attempt to add an error string which Windows provides after a failed call to LoadLibrary. See http://www.heidisql.com/forum.php?t=22514
2017-01-23 19:35:14 +00:00
53b4ab6911
Include ADO connection string in status bar connection details, shorten the lines reasonably and show the full lines in a message box when clicking on it. See http://www.heidisql.com/forum.php?t=23049
2017-01-14 11:01:32 +00:00
5312a37203
Support SQL security setting in view editor via drop down menu. See http://www.heidisql.com/forum.php?t=21740
2016-12-14 19:10:08 +00:00
3ffcafac05
Revert r5136, which removes support for single quotes in database names again, to fix a new bug when finding the right PG database name in a query like SET search_path TO E'information_schema', E'public'. See http://www.heidisql.com/forum.php?t=22799
2016-11-29 14:15:42 +00:00
50d74d9214
Fix sloppy regular expression in TDBConnection.DetectUSEQuery which removes too much of trailing quotes in a database name. See http://www.heidisql.com/forum.php?t=22743
2016-11-24 18:22:23 +00:00
34e8068189
PostgreSQL: query timeout is set in milliseconds, not seconds. See http://www.heidisql.com/forum.php?t=22645
2016-11-21 18:54:07 +00:00
ce444cbfe4
Try to load libpq.dll with explicit file path if the path-less did not succeed. See http://www.heidisql.com/forum.php?t=22514
2016-11-20 21:20:41 +00:00
7bd29f0bac
Cast unknown data type columns as text when generating a multi column filter from user input. See http://www.heidisql.com/forum.php?t=22562
2016-11-01 16:52:30 +00:00
aa373aaaba
Use the right SQL commands for killing a process on PostgreSQL. See http://www.heidisql.com/forum.php?t=21760
2016-10-31 17:53:25 +00:00
1e03f4b0b5
Remove quirky logic from TMySQLQuery.Execute when distinguishing between text and binary data types. See http://www.heidisql.com/forum.php?t=22441
2016-10-24 19:34:07 +00:00