fb2668b48c
Issue #1673 , #1351 and #1658 : use a general approach in TDBQuery.HasFullData for all server types, where we again use Delphi's Length() against a number range of 128..256.
2022-10-06 18:59:03 +02:00
3565f8cce3
Fix text value in popup editor cut to 256 chars, for all modes other than MySQL. Closes #1673
2022-10-06 17:49:46 +02:00
3623d691f1
Issue #1652 : don't add collation clause to a modified or new JSON column
2022-10-04 18:59:55 +02:00
0148564047
Issue #1670 : fix text field editing with more than 256 chars on MS SQL
2022-09-27 09:06:17 +02:00
8e38e4ee99
Use empty default host/ip for new SQLite sessions, to avoid running into some out-of-memory issue. Closes #1602
2022-09-21 07:49:54 +02:00
47f5058ae3
Fix previous approach in TDBQuery.HasFullData and StrHasNumChars, which used CharNextW() and stopped at null bytes within binary strings. Again use Length() instead, but let it be longer than GRIDMAXDATA. Closes #1658
2022-09-18 11:33:53 +02:00
9e16c78d37
Use NULL in new row for column with timestamp expression, to fix a following UPDATE query using an empty string in its WHERE clause. Closes #1645
2022-08-18 06:53:33 +02:00
7101eb999f
Leave away NULL clause for new column which allows NULLs. Closes #1642
2022-08-16 18:53:32 +02:00
c7dc63706d
Support comments on table indexes via table designer. Closes #128
2022-07-18 17:02:36 +02:00
770e469804
Strip comments from procedure parameters before parsing. Closes #1477
2022-07-18 14:45:26 +02:00
c992656aab
Add support for MariaDB's new UUID column type. Closes #1545
2022-06-28 20:42:14 +02:00
abaa9de070
Add basic support for listing and showing views in SQLite mode. Closes #1196
2022-06-26 20:42:15 +02:00
97b3728f13
SSH tunnel: use the shell executable filename in all dialog captions
2022-06-23 07:46:07 +02:00
66b07c0c5e
Issue #287 : v5.1 servers report utf8mb4 from mysql_character_set_name, although it's latin1. Trust the returned charset only on v5.5+ servers, and reset it on older servers.
2022-06-17 14:46:45 +02:00
85cbd86367
Issue #1613 : fix missing detection of spatial keys
2022-06-07 19:31:11 +02:00
885bf8d823
mysql_character_set_name() from libmysql.dll reports utf8* if in fact it's a latin* charset. Force utf8* charset in that case. See https://www.heidisql.com/forum.php?t=39278
2022-06-03 07:46:15 +02:00
1ee23b1682
Issue #1351 : optimize StrHasNumChars
2022-05-18 07:56:10 +02:00
bb608ff52c
Make counting characters in TDBQuery.HasFullData more precise for diacritical characters. Fixes EnsureFullRow not doing its work when a cell contains some emoji. Reported in the forum: https://www.heidisql.com/forum.php?t=39239
2022-05-17 19:50:48 +02:00
a6ad041a7c
Convert hardcoded MySQL error codes to named constants, taken from include/mysql/server/mysqld_error.h
2022-04-23 11:45:37 +02:00
c4085bed4e
Refactor: move structures for specific network types out of dbstructures, into their own dbstructures.xxx.pas, and include const.inc in project sources
2022-04-23 11:38:26 +02:00
67cd7bb193
Set character set and collation of MySQL/MariaDB connections only if current one is not UTF8/16/32. Closes #287
2022-04-22 17:06:51 +02:00
0c3b6f9deb
Issue #1256 : create spRenameColumn template and prefer that in SQLite and Postgres
2022-04-22 09:09:44 +02:00
89f034cc8e
Support renaming columns in SQLite, and generate separate ALTER TABLE queries for each change. Closes #1256
2022-04-21 09:20:33 +02:00
8b4556f292
Support COLLATE clause in SQLite when creating tables
2022-04-21 08:55:43 +02:00
8bab9bfa76
Fix wrong SQL for emptying SQLite tables. Closes #1557
2022-04-11 20:19:20 +02:00
f2b7a31291
Try to fix crash in TDBObject.GetTableColumns and friends, by preferring TDictionary.AddOrSetValue over .Add
2022-03-28 08:08:43 +02:00
3d90ce24d1
Silence two crashes in QuotedDatabase and IsSameAs. See https://www.heidisql.com/forum.php?t=39040
2022-03-27 14:40:07 +02:00
9a9b111c41
Try to fix crash happening in TDBObject.GetImageIndex after server sided disconnect, trying to set the current database
2022-03-27 09:30:15 +02:00
a5544ba0c8
Issue #1169 : fix TInterbaseConnection.GetCharsetTable with wrong identifier quotes
2022-03-13 20:28:21 +01:00
f106dfcd48
Issue #1169 : fix usage of first created driver link for all later Interbase/Firebird connections, as we support different libraries
2022-03-10 06:58:46 +01:00
0e8d77bbba
Issue #1169 : separate Firebird network types from those for Interbase, and provide fitting dll files in library pulldown
2022-03-09 20:54:49 +01:00
76e176ae2e
Get ServerVersionUntouched for Firebird.
...
For Interbase is still empty, because I don't know, how to select with sql.
2022-03-08 07:04:00 +01:00
e8050f858a
Fix for Firebird 4
2022-03-08 07:04:00 +01:00
9073dc7836
- spCurrentUserHost now Interbase-Compatible
...
- FetchDbObjects / Get Tables&Vies Interbase-Compatible
2022-03-08 07:04:00 +01:00
bf595da8b7
- added FireDAC.Phys.FB to use Firebird
...
- select for spCurrentUserHost for Firebird
- edited GetTableColumns for firebird
- Implemented GetTableForeignKeys for firebird
- FetchDbObjects for Firebird:
- new select for Tables and views
- procedures
- Triggers
- Functions
2022-03-08 07:04:00 +01:00
6e36423121
Issue #1540 :
...
* create TDBConnection.IsHex(), and prefer that in all places where we check for a hex value
* fix characters g-z detected as hex chars
* make detection faster than a regex, and check first kilobyte only
2022-03-02 20:13:09 +01:00
8e9b667c4b
Issue #1540 : use hex format in foreign key pulldown for binary columns
2022-03-02 15:59:28 +01:00
eb4f996b39
Issue #1491 : add checkbox option to empty-tables-dialog, for disabling foreign key checks
2022-02-22 21:21:37 +01:00
0f61ad64fe
In a connection error, give the user a hint to better use the default library. A similar hint was yet only given on SSL error messages, but libmysql.dll seems to end with a misleading "access denied" error in some cases. Related to #722 , #980 and https://stackoverflow.com/questions/71161296/unable-to-connect-to-mysl-container-via-heidisql-via-localhost
2022-02-19 14:50:44 +01:00
8f36560cc0
Issue #1539 : overtake some new CLIENT* constants from include\mysql_com.h, and activate CLIENT_PLUGIN_AUTH_LENENC_CLIENT_DATA in MySQL/MariaDB mode
2022-02-13 20:54:07 +01:00
d84f2ed22e
Issue #1529 : detect klink.exe and putty.exe as variants of plink executable
2022-02-09 20:08:44 +01:00
98c69fa2ed
Issue #362 : add basic support for OpenSSH tunnels, with slightly different command line arguments
2022-02-04 22:28:03 +01:00
9bf599f3f8
Support renaming SQLite tables in database tab. Closes #1427
2022-01-04 19:11:55 +01:00
c203956d12
Don't generate DEFAULT... and COLLATE... clauses for virtual columns. Closes #1210
2021-12-11 12:59:43 +01:00
50ddf24337
Include database name in foreign key code only if it differs from the database in which it resides. Closes #1419
2021-12-10 07:29:52 +01:00
00625b8f09
Issue #1169 : prefer OpenOrExecute over Open, in TInterbaseConnection.Query, and destroy unused FdQuery object. Fixes exception with "[FireDAC][Phys]-308" with non-result queries.
2021-11-03 09:13:24 +01:00
b6d221b3e3
Issue #1169 : detect column types in TInterbaseQuery.Execute
2021-11-03 08:50:53 +01:00
b1a0cbe172
Issue #1169 : get date grid updates running
2021-10-31 11:24:50 +01:00
33eb0032d9
Issue #1169 : implement TInterbaseConnection.GetTableColumns and InterbaseDatatypes
2021-10-30 12:44:10 +02:00
255e5856f8
Issue #1169 : "USE <db>" not supported by Interbase, set empty query template. And modify SetDatabase so it may set the current database name too, like DetectUSEQuery.
2021-10-26 06:05:27 +02:00