f417a25fe0
mysql_get_server_info() returns "5.5.5-10.0.10-MariaDB". Override that with the "version" server variable, which is more exact here.
2014-05-27 13:55:54 +00:00
a2c76e7e5f
Detect DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP in column definitions. See http://www.heidisql.com/forum.php?t=15768
2014-05-27 13:44:19 +00:00
2af4d3cc18
Support query timeout on MSSQL and PostgreSQL. Make customizable per up/down scroller in "Advanced" tab of session manager. Fixes issue #3507 .
2014-05-04 05:01:25 +00:00
e2b1d623d0
Remove "experimental" from MSSQL net types.
2014-05-03 04:16:56 +00:00
a51df43aee
Add call to Query() in SetDatabase() after removing it accidentally in previous commit. See http://www.heidisql.com/forum.php?t=15536
2014-04-22 17:14:20 +00:00
302238b38d
Make detection of USE query more reliable, and implement it once for all descendants of TDBConnection. See also http://www.heidisql.com/forum.php?t=15530
2014-04-22 14:49:58 +00:00
6507cb0ea3
Fix missing table alias on MSSQL2K. See http://www.heidisql.com/forum.php?t=15506
2014-04-19 10:24:38 +00:00
97774da5c5
Display schemata instead of databases in db tree. See http://code.google.com/p/heidisql/issues/detail?id=3190#c32
2014-04-17 06:29:11 +00:00
5adea1a2e4
Use hardcoded "template1" database when connecting. There is no connect method using an empty database name. See http://code.google.com/p/heidisql/issues/detail?id=3190#c30
2014-04-17 05:20:23 +00:00
804857b544
Add PostgreSQL server icon
2014-04-15 15:46:14 +00:00
28a97cc721
Fix query for getting database names on PostgreSQL
2014-04-15 09:13:04 +00:00
4aee9078ee
Add experimental PostgreSQL support, issue #3190 . Include 32bit and 64bit dll's in installer.
2014-04-15 06:17:37 +00:00
c549e62129
Remove text from plink message dialog which says one should press "y" or "n", where we have buttons already.
2014-03-31 04:05:17 +00:00
370b4cf212
Rewrite plink.exe process handling: Create our own class TPlink, which needs to be called with a .Connect method and raises an exception when some error occurs. Fixes issue #2902 . See also: http://www.heidisql.com/forum.php?t=15224
2014-03-29 06:57:05 +00:00
5e876bca62
Get path to cmd.exe via COMSPEC environment variable. See http://www.heidisql.com/forum.php?t=15206
2014-03-23 15:37:04 +00:00
cb3894f1bc
Try to automatically pipe a "y" to plink.exe, to auto accept unknown host keys. See http://www.heidisql.com/forum.php?t=15224
2014-03-22 05:35:35 +00:00
906b80f3a5
Move code from helpers.GetColumnDefaultClause into dbconnection.TTableColumn.SQLCode. Support microseconds part in DEFAULT CURRENT_TIMESTAMP clause. Fixes issue #3506 .
2014-03-09 04:08:12 +00:00
9761c21541
Do not ignore primary keys with KEY_BLOCK_SIZE=xyz. See http://www.heidisql.com/forum.php?t=15049
2014-03-03 05:46:32 +00:00
66be30b7ef
Quote password in MSSQL connection string, so they may contain semicolons. See http://www.heidisql.com/forum.php?t=14753
2014-02-07 06:02:57 +00:00
c2de2a76aa
Add textbox to store session comments. Fixes issue #3492 .
2014-01-25 06:17:39 +00:00
63468b0c01
Make grid UPDATEs and INSERTs more compatible with DATE/TIME columns in MSSQL. Fixes issue #3469 .
2013-12-16 18:44:12 +00:00
6b0bd5ff96
Make default value of asFullTableStatus effective in TConnectionParameters.FullTableStatus. See issue #2398 .
2013-12-11 16:32:28 +00:00
5c4cd6c2aa
Catch late init_connect errors. Fixes issue #3464
2013-12-10 05:48:17 +00:00
a552fae2b6
Add "Full status refresh" menu item under "Refresh" dropdown menu. See issue #2398 , comment #67 .
2013-12-07 14:15:44 +00:00
fe6b38c7c1
Issue #2398 : Make "Get full table status" a session setting (was global before), so users can switch that off in specific sessions only.
2013-12-02 05:45:47 +00:00
e00259f0be
Add forgotten VIEWs in the performance optimized IS.TABLES query of TMySQLConnection.FetchDbObjects()
2013-11-27 17:17:50 +00:00
6aaf971802
Add preference option "Get full table status". When disabled, HeidiSQL now fetches tables per information_schema.TABLES instead of SHOW TABLE STAUS. Without rows, data length and all other properties which take longer to load. Fixes issue #2398 .
2013-11-27 05:58:16 +00:00
3d76693340
Experimental: Remove TDBConnection.OnDBObjectsCleared, which was used to implicitly refresh db items and tree nodes after items were cleared somewhere. Callers already did a refresh in some cases, which lead to duplicated "SHOW xyz FROM db" blocks. This again caused the "Database" tab to forget its scroll position within refreshes. Should fix issue #3409 .
2013-11-23 05:47:49 +00:00
89fc8c5a5e
Detect unsigned flag of procedure return value. Fixes issue #3337 . Also, include probable existing charset and collate values for return type.
2013-11-16 07:10:36 +00:00
69f5503af3
Raise NodeDataSize of data and query grids from 4 bytes (PCardinal) to 8 bytes (PInt64), so TBaseVirtualTree.InsertNode does not barf in 64bit mode with a "Cannot set initial user data because there is not enough user data space allocated.". Fixes issue #3429 .
2013-11-14 21:15:39 +00:00
bf90f6664d
Quote plink.exe path and file in SSH tunnel preparation, so spaces in the path do not break the CreateProcess call. See http://www.heidisql.com/forum.php?t=13794
2013-11-04 05:22:28 +00:00
0f3c603c44
Prefer Delphi's Indy library over Synapse for encoding URL parameters. Remove Synapse code, which was meant to help in implementing the HTTP tunnel code which can easily be done with Indy.
2013-11-02 06:23:41 +00:00
03022d276c
Issue #3366 : Enhance performance for internal favorites management. Let the connection hold its favorite list instead of reading it from registry in all places where we need them.
2013-10-14 04:38:40 +00:00
ddcb54a538
Introduce tree favorites:
...
* Add a button right besides db/table filter for hiding non-favorites
* Add an icon on the very left of table nodes, showing whether they are favorites
Fixes issue #3366
2013-10-13 05:48:43 +00:00
6976f5a4e6
Extend MDAC hint for Wine users. Fixes issue #3377 .
2013-10-11 03:57:12 +00:00
616f40b0ec
Revert r4557, as EXCEPT operator does not support ORDER BY in both left and right query, which renders it useless for pagination. Also, EXCEPT is not supported by MSSQL 2000. Instead, refresh the whole grid result when paging through results. This works perfectly on all MSSQL versions, of course including a performance slow down on large results. Fixes issue #3364 .
2013-10-10 03:48:31 +00:00
a1fa32d7fe
Support backticks in column names, key names and foreign key names, for the table designer. Fixes issue #2292 .
2013-10-09 17:14:55 +00:00
88456343ba
Try to use EXCEPT clause on MSSQL table results, as a replacement for the non-existing LIMIT clause. See issue #3364 .
2013-10-09 04:45:32 +00:00
5832bf45b9
Using TDBQuery.ColAttributes() and TTableColumn.LengthSet in a query result does not work, as this relies on a previous SHOW CREATE TABLE parsing. Check PMYSQL_FIELD.length instead to return the correct zero-padded string bitmask for a BIT column. Fixes issue #2544 .
2013-10-02 04:56:48 +00:00
be10a6e9ed
Disable grid in AnyGridBeforeCellPaint after TAdoDBQuery.SetRecNo detected a broken MSSQL connection. Hopefully fixes issue #3336 .
2013-09-20 04:51:01 +00:00
c1b1a5f52e
Unescape default text value for a column when inserting a new grid row, so \r and \n and whatever does not get into a cell as a literal. Fixes issue #3283 .
2013-09-14 15:27:44 +00:00
fc68ab5cae
Revert r4357 (add database name in GetCreateViewCode), to fix issue #3329 (view export includes superfluous database name). Issue #3098 is still fixed, by the later r4479 (get view columns from IS.COLUMNS).
2013-09-11 04:26:35 +00:00
0759ea2f8c
Code cosmetic for getting server version:
...
* Remove properties ServerVersionInt and ServerVersionStr from TDBConnection
* Instead, move private GetServerVersionInt() and GetServerVersionStr() to public scope, named like the previously used properties now
* Remove overridden methods in descendants of TDBConnection, do it with a version conditional in the upper class
* Finally, remove ConvertServerVersion() and merge code into ServerVersionStr()
* We have 7 declarations and 3 implementations less than before
2013-08-28 04:41:58 +00:00
fddad4669f
TOP(x) clause for UPDATES + DELETES introduced in MSSQL 2005. Do not use that on older servers. See http://www.heidisql.com/forum.php?t=13289
2013-08-28 03:52:34 +00:00
c7373e92db
Don't know when exactly but in some cases VirtualTree.FocusedColumn seems to have the InvalidColumn (-2) index. Do not pass such negative indexes to a TStringList in TDBQuery.ColAttributes. See http://www.heidisql.com/forum.php?t=13245
2013-08-22 04:34:30 +00:00
a4b6855420
Fix regex in TDBConnection.ParseViewStructure which matches on IS.COLUMNS.COLUMN_TYPE but just finds empty matches, because all expression groups are optionally. Also, ZEROFILL attribute for numeric columns never gets detected. Fixes issue #3311 .
2013-08-17 05:25:51 +00:00
721df2da37
Make regex in ParseViewStructure even more loose, this time due to dots in the view's name. See http://www.heidisql.com/forum.php?t=13191
2013-08-16 04:37:00 +00:00
4628fac73d
Fetch column names from IS.COLUMNS only, without joining IS.VIEWS from which we anyway don't read something. Fixes issue #3305 .
2013-08-06 18:15:58 +00:00
58b2a66800
Get column names from VIEW per IS.COLUMNS, not per SHOW COLUMNS, to support MSSQL here. Fixes empty grid results for MSSQL VIEWs. See comment #46 of issue #3212 .
2013-08-05 04:15:01 +00:00
e509ea5437
Include application name in login prompt. Fixes issue #3180 .
2013-07-25 03:59:42 +00:00