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
ccc6e0b26a
Use table name from helper TDBObject in TDBQuery.PrepareEditing, as TMySQLQuery.TableName does not return the VIEW's name when the VIEW contains aggregated columns. Fixes issue #3284 .
2013-07-22 04:36:17 +00:00
51c27f7a27
* Silence various compiler warnings about non initialized variables.
...
* Globally turn off platform warnings
2013-07-16 04:45:28 +00:00
3007a5e860
Send column default value through UnescapeString and then to EscapeString, and let UnescapeString remove double backslashes. Fixes issue #3283 .
2013-07-15 05:00:07 +00:00
2d27ac46f7
Make charset query compatible to MSSQL 2000. Fixes issue #3269 .
2013-07-07 05:51:49 +00:00
f4a82f4ec0
Use TDBQuery.DBObject.Database in TDBQuery.DatabaseName(), so for VIEWs we do not get the db from the table which is selected. Fixes issue #3266 .
2013-07-05 04:37:06 +00:00
05a48a3cb3
Issue #3212 : Fall back to db..table if schema is unknown or server has no schema support.
2013-07-01 16:41:56 +00:00
1660104d4d
Support length of "max" in data types. Used in MSSQL.
2013-07-01 04:23:06 +00:00
ca655582bd
Issue #3212 : Introduce TDBQuery.DBObject, to which we assign the selected object when getting the result for the data grid. Use that DBObject in TDBQuery.QuotedDbAndTableName and TDBQuery.PrepareEditing, where we need to know the schema of the object.
2013-06-30 14:10:51 +00:00
63bd7947a5
Consider schema name when focusing tree node in TMainForm.SetActiveDBObject > TMainForm.FindDBObjectNode > TDBObject.IsSameAs
2013-06-30 14:05:33 +00:00
4909931f83
Issue #3212 : TDBQuery.SaveModifications makes use of TDBQuery.QuotedDbAndTableName, not TDBConnection.QuotedDbAndTableName. Make first one internally call the second one, so both do the same thing.
2013-06-29 04:28:37 +00:00
c3d0932196
Do not always display NULL in a MSSQL grid field when value was edited.
2013-06-29 04:22:05 +00:00
2ff588b233
"WITH .. CHECK OPTION" is already contained in the "source" value of a .frm file. Don't include it a second time in TMySQLConnection.GetCreateViewCode. Fixes issue #3258 .
2013-06-29 04:03:07 +00:00
5865716090
Support brackets in routine parameters. Fixes issue #3255 .
2013-06-28 04:39:01 +00:00
4dc4c22257
Documentation
2013-06-27 17:36:18 +00:00
a047f4998a
Issue #3212 : Reestablish MSSQL 2000 compatibility by removing SCHEMA_NAME(schema_id) from TAdoDBConnection.FetchDbObjects.
2013-06-27 17:35:48 +00:00
8326e0de2e
Issue #3212 : Inject XY_SCHEMA=xy clause into all other IS queries in TAdoDBConnection.GetCreateCode.
2013-06-27 04:46:00 +00:00
9acc474e9a
Issue #3212 : Consider schema name in default objects sorting, so the tree displays the same order as we have in the database tab when sorted by "Name" column.
2013-06-26 04:24:51 +00:00
b77b990714
Issue #3212 : Filter objects by schemata when gathering columns from IS.COLUMNS in TDBConnection.GetCreateCode, so we don't get columns from objects with the same name in another schema.
2013-06-26 04:11:46 +00:00
8e02fa9fee
Move helpers:GetIndexIcon to TTableKey.GetImageIndex
2013-06-25 04:15:11 +00:00
e5486ebc5e
* Avoid calling TDBConnection.ClearDbObjects() on active database after copying table. Instead, call actRefresh which takes care of a probably opened table object in the table editor.
...
* Check for table existence via SELECT on IS.TABLES, avoid usage and refresh of db objects here also.
* Fixes issue #3250 .
2013-06-24 04:56:24 +00:00
5ed52a851a
Inject default schema between db and table in TDBConnection.QuotedDbAndTableName if target object does not exist. See issue #3212 .
2013-06-22 05:52:30 +00:00
56b6e103a0
Introduce TDBConnection.FindObject(db, obj). Use that in TDBConnection.QuotedDbAndTableName() and for checks for table existence.
2013-06-22 05:35:36 +00:00
6371ff5557
Issue #3212 : Introduce TDBConnection.QuotedDbAndTableName(), callable with a db and table string. Internally calls TDBObject.QuotedDbAndTableName(), so we get the schema between db and table if required.
2013-06-22 04:45:53 +00:00
9b7393ee56
Issue #3212 : Add basic support for schemas in MSSQL.
2013-06-21 04:52:25 +00:00
d9a5cfab41
Add overlay icons for table engines Blackhole and MergeMyISAM.
2013-06-17 21:12:21 +00:00
574498f955
Fix detection of text column types in MSSQL, so TEXT and NTEXT do not appear as numbers in query results.
2013-06-03 04:47:45 +00:00
976881c748
Join the two error message snippets with a linefeed, not a space, so that gets more readable. See http://www.heidisql.com/forum.php?t=12758
2013-05-30 08:48:57 +00:00
ed4f197f3f
Use additional EOleException message in GetLastError. See http://www.heidisql.com/forum.php?t=12758
2013-05-30 06:08:36 +00:00
b359c9df88
MSSQL: Escape joker chars in conjunction with an "ESCAPE" appendix after the LIKE clause. See http://www.heidisql.com/forum.php?t=12747 .
2013-05-28 17:48:55 +00:00
c4f0b2798b
MSSQL wants single quotes escaped with a second single quote, not with a backslash. No clue how to escape joker chars in a WHERE clause.
2013-05-28 04:54:08 +00:00