716 Commits

Author SHA1 Message Date
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
d92ca7edd5 Issue #1169: implement
* TInterbaseConnection.GetCollationTable
* TInterbaseConnection.GetCharsetTable
* TInterbaseConnection.FetchDbObjects
2021-10-24 09:36:06 +02:00
2537e592ec Quote column names for quick filter, when column name matches an SQL function name. Closes #1398 2021-10-23 15:45:37 +02:00
70912e15b3 Overwrite SynEdit's predefined FunctionNames list with those from our ini file 2021-10-13 08:00:38 +02:00
9baeb9f018 Outsource large list of MySQL functions into separate .ini files, one per server type. Todo: definitions for SQLite and Interbase. 2021-10-11 21:32:55 +02:00
36f8d5794b Prefer IdentifierEquals() to compare names of two tables in TDBObject.IsSameAs(), for potentially case insensitive comparison when lower_case_table_names is 1. Fixes "Table x not found in tree" after creating a table with upper case letters on Windows servers. See https://www.heidisql.com/forum.php?t=38150 2021-10-03 17:15:33 +02:00
38c3a82380 Prefer SUBSTRING() over SUBSTR() in Postgres mode, to restore Redshift compatibility. See https://www.heidisql.com/forum.php?t=38326 and issue #1259 2021-09-22 07:12:46 +02:00
04e8d683b4 Escape single quotes and backslash in all PostgreSQL connection string values, including password. Closes #1417 2021-07-24 08:55:15 +02:00
475e191a59 Issue #1169: get basic connection to local Interbase setup running 2021-07-18 12:33:37 +02:00
7194aa05fb Issue #1169: basic skeleton for Interbase connections, including two network types TCP/IP and Local, as well as two drivers IB and FB 2021-06-28 21:22:47 +02:00
a469d89227 Issue #1169: give items in TDBDatatypeIndex a different prefix (dt => dbdt), to fix a conflict with those from Delphi's database components 2021-06-26 17:44:50 +02:00
b86efe871d No longer disable SSH tunnel on Windows 10 S. This removes the no longer required support for Win10S if used in the Windows Store. 2021-06-26 09:15:12 +02:00
ed28bcbf6f SQL export: Add popup menu action for copying mysqldump command line 2021-06-25 08:56:18 +02:00
210cfbaa8f Code cleanup: outsource generation of mysql command line arguments into TConnectionParameters.GetExternalCliArguments 2021-06-24 06:57:20 +02:00
39d7af0abd Code cleanup: outsource generic MainForm.IsWine property to apphelpers.IsWine function 2021-06-24 05:44:14 +02:00
28d25e3334 Revert a144466e7137f1c33c39c231dbeb4cd98dfc4ffa : query exact row count from tables and views. See https://www.heidisql.com/forum.php?t=37983 2021-06-10 07:42:50 +02:00
19677fa7f0 Let a second version of EscapeString decide itself whether to quote a string, based on the given datatype. Closes #1386 2021-06-09 20:10:00 +02:00
a144466e71 Experimental: query exact row count from tables and views, in data tab and table tools 2021-06-03 09:27:13 +02:00
dd38ba4f6f Code cosmetic: rename implodestr() to Implode() 2021-06-03 08:32:06 +02:00
0c6d20640a Minor optimization in TDBObject.GetTableColumns, where quite a few EListError crashes happen: Duplicates not allowed 2021-05-27 21:02:22 +02:00
07e1786d46 * fix wrong substring offset in TForeignKey.SQLCode
* fix TForeignKey.ReferenceTableObj with dots in database name
* use the fixed TForeignKey.ReferenceTableObj instead of .ReferenceTable in two places
Closes #1364
2021-05-23 09:25:08 +02:00
499a6c3064 Unhide public schema on Redshift. See https://www.heidisql.com/forum.php?t=37911 2021-05-17 15:00:21 +02:00
e7c4035869 Remove experimental flag from SQLite network type 2021-05-15 08:51:52 +02:00
b6223d25bc Issue #135: leave unfinished Clickhouse support away from the master branch, for the next release 2021-05-15 08:29:40 +02:00
4fc2063449 Fix crash after encountering unsupported NetType session setting. And don't ask the user to report that as a bug, in the prior error dialog. 2021-05-15 08:25:40 +02:00
549cb86d75 Move responsibility for lowercasing hex content from the caller to the implementation, so we get the same display everywhere, including grid exports 2021-05-12 15:48:38 +02:00
940bbb7470 Fix logged queries duration in "one go" mode. See https://www.heidisql.com/forum.php?t=37878 2021-05-07 08:19:07 +02:00
04d1422f34 Quote database name separately from table name in foreign key generation. Closes #1364 2021-05-02 22:06:56 +02:00
65cf4a5820 Introduce an auto-quoting mode in TDBConnection.EscapeString, and use that to get rid of quotes around hex values and integers in quick filters 2021-05-01 07:35:56 +02:00
b271107dad Add new preference option for displaying hexadecimal content in lowercase 2021-04-23 15:45:39 +02:00
5204ac54fa Set explicit default value "NO ACTION" for ON UPDATE/DELETE clauses when creating a foreign key. Closes #1320 2021-02-27 11:08:57 +01:00
bfca2af12c Issue #135: ClickHouse compatible query alternative for SHOW VARIABLES 2021-02-10 06:46:48 +01:00
ab502cdc0a Issue #135: ClickHouse compatible query alternative for SHOW /*!50002 GLOBAL */ STATUS 2021-02-08 20:04:00 +01:00
7597385618 Issue #135: basic support for ClickHouse MySQL protocol 2021-02-08 19:52:42 +01:00
3cf4409ddf Issue #1298: support check constraints on MySQL, MSSQL and PG by retrieving the with a different query, without IS.CHECK_CONSTRAINTS.TABLE_NAME 2021-02-08 07:58:28 +01:00