f6588fb1fc
Add support for integrated Windows authentication on SQL Server. See http://www.heidisql.com/forum.php?t=8856
2011-11-19 08:43:10 +00:00
0b5a093c69
Adjust regular expression in ParseViewStructure so it gracefully matches broken code from SHOW CREATE VIEW. Fixes issue #2563 .
2011-11-18 15:42:23 +00:00
4b5847c641
Store selected database object and its properties in a copied TDBObject, instead of referencing an item from TDBConnection.FDatabases[x]. Not sure if that's a good idea as there may be logic somewhere which now updates the temporary copy, not the reference. But at least this fixes issue #2579 .
2011-11-16 19:20:07 +00:00
0ea3a2cdbb
Try again a fix for SynEdit exceptions, similar to what I've already tried in r3922. The approach was right, only there was Mainform.SetupSyneditors accessing all TSynMemos in a thread when reconnecting.
...
* fixes issue #2605
* should also fix issue #2545
* should also fix issue #2358 (again)
* reverts r3924 and r3925, SynEdit modifications which should not be required any longer now that logging is postponed for the mainthread
2011-11-14 23:14:41 +00:00
f9e896fede
Unformat local formatted floats in WHERE clause for grid updates. Probably fixes issue #2558 .
2011-11-05 07:26:32 +00:00
0e45ef0b12
Make regex for detection of VIEW name more stable against international characters. Fixes issue #2578 .
2011-11-04 23:08:21 +00:00
26b6e06aa9
Fix non-used database in reconnect, caused by too early DoAfterConnect which triggers OnConnected event, which again triggers DBTreeFocusChanged which triggers grid updates. Fixes issue #2573
2011-10-15 08:16:35 +00:00
deb75f5c6a
Revert r3938, and add backticks around identifiers again, so ParseTableStructure can detect column for "copy columns" feature. Fixes issue #2540 .
2011-10-01 06:58:33 +00:00
65de4c482e
TMySQLConnection.GetThreadId requires the connection to be active. Fixes issue #2561 .
2011-09-20 17:23:36 +00:00
4e0d7fdcdb
Do not replace two single quotes which are not used to present one escaped single quote. Fixes issue #2560 .
2011-09-19 18:16:05 +00:00
793ab83a20
Process escaped single quote in TDBConnection.UnescapeString. Mentioned in issue #2546 .
2011-09-05 19:55:51 +00:00
788e279fb8
Attempt to preserver original VIEW code, by selecting text from the server's .frm file. Fixes issue #2546 .
2011-09-04 13:17:32 +00:00
94c1ecc81a
Remove redundant backticks in table editors CREATE and ALTER code. See http://www.heidisql.com/forum.php?t=9056
2011-08-24 05:50:51 +00:00
f4b19d1351
Remove TMainForm.AllDatabasesDetails, and implement a collation property in TDBObjectList, queried from information_schema.schemata. Removes a moreorless useless queries for objects in information_schema, which probably causes crashes when badly timed, like described in issue #2537 .
2011-08-21 05:45:09 +00:00
3170702b5b
Unify usage of log prefix in db connection.
2011-08-20 05:31:02 +00:00
eaadfb3f60
Implement TDBConnection.GetServerVariables, and use that in various places. Also, indicate Percona server version using version_comment variable. See http://www.heidisql.com/forum.php?t=8035 .
2011-08-19 06:27:00 +00:00
0f881d2a13
Cache result of thread id. On MS SQL this is a real query which spams the log history. And mysql_thread_id() crashes when connection was killed.
2011-08-17 06:17:47 +00:00
a170149801
Revert previous commit, which does not fix issue #2358
2011-08-16 06:38:18 +00:00
22b3f8a980
Try to fix crashes in SynEdit repaints after reconnects, by catching threaded log items and postpone them for later, in AfterQueryExecution which is synchronized with the main thread. I could swear yesterday I got the same exception here but today it's working like a charm. Probably fixes issue #2358 .
2011-08-16 06:16:46 +00:00
807fd94fa7
ParseTableStructure does an implicit reconnect via GetCollationTable, lately, after a first column is already created. Do a manual ping at the very start so columns are correctly shown, e.g. in data tab. Fixes issue #2484 .
2011-07-23 18:57:33 +00:00
3824e552fe
Rewrite import file dialog: Use a grid for column values, distinct between binary and text files
2011-07-11 06:13:50 +00:00
b169e57fe9
Paint green size bar in database trees
2011-07-03 21:49:26 +00:00
133b2a265c
Refactor code for Host subtabs: Remove TVTreeData structure, use TDBQueryList instead. Use same code for most grid events.
2011-07-03 08:44:20 +00:00
cbd847477e
Fetch uptime on MS SQL backward compatible. See http://www.heidisql.com/forum.php?t=8147
2011-06-18 05:30:35 +00:00
98c872909c
Support virtual columns in MariaDB 5.2. Fixes issue #2451 .
2011-06-10 23:36:38 +00:00
ed577e4482
Detect MariaDB, and use MariaDB icon in session manager, status bar and database tree.
2011-06-10 22:26:13 +00:00
d3ea4111a3
Suppress error dialog when process is already gone. Fixes issue #2362 .
2011-06-09 17:24:15 +00:00
7e4daded87
Fix TMySQLConnection.Ping in situations when FActive is already false, like a detected disconnect when hovering over server status panel. Most probably fixes what's described here: http://www.heidisql.com/forum.php?t=8499
2011-06-01 22:18:02 +00:00
0b49dfc4b8
Accidentally forgotten files for r3849
2011-05-28 21:25:56 +00:00
a329844e9f
Use hex style in WHERE clause and column values of grid updates. Fixes issue #2183 . Also, raise warning when 0 rows were affected by UPDATE, INSERT or DELETE action.
2011-05-28 21:20:19 +00:00
2d548b5ef6
Introduce some wrapper functions for message and error dialogs in order to have less code and to avoid hidden titles on Windows XP. Fixes issue #2425 .
2011-05-27 04:48:21 +00:00
96baa670c8
Fix detection of table name on MSSQL / data grid. Enables grid editing again.
2011-05-23 20:25:59 +00:00
3e4836839b
Allow ANSI quotes in VIEW code. Fixes issue #2419
2011-05-19 22:06:28 +00:00
3b91279777
Introduce support for BIT fields in grids and export output. See issue #766 and http://www.heidisql.com/forum.php?t=8462
2011-05-10 05:15:59 +00:00
63922c3325
Forgot to make column lengths public in previous commit.
2011-05-01 06:03:12 +00:00
52c57c84e3
Fix follow up problems introduced in r3795: DROP DEFAULT on renamed column took the old column name, and the old table name is used also when it was renamed. Revert r3795, move DROP DEFAULT clauses before the main ALTER query, and introduce a .OldDataType property on TTableColumn to check if that can have a default value.
2011-04-30 05:07:50 +00:00
3c11e6c5a8
Introduce a separate dialog for all "copy grid data as .." actions, including the file export. Fixes issue #1499 .
2011-04-28 07:33:49 +00:00
b7cec30bd3
Exceptions are caught in TMySQLConnection.GetAllDatabases, no need to catch them again in TMainForm.DBtreeInitChildren. Also, log an error message if both SHOW DATABASES and the alternative did not work.
2011-04-20 19:03:13 +00:00
007ae9ced5
Do not try to access first character if identifier is empty. Fixes issue #2386 .
2011-04-20 16:51:39 +00:00
cb0e54068c
Remove redundant functions IsMSSQL and IsMySQL.
2011-04-19 23:07:52 +00:00
19fbcfc372
Call mysql_thread_init and mysql_thread_end when applying the thread lock. Fixes issue #2375 .
2011-04-18 23:21:26 +00:00
c8b25c75fa
Bind session parameter object to session manager list nodes, to be able to show the right vendor icon in that list.
2011-04-17 23:21:05 +00:00
9d630b50fc
Use default path to plink.exe when creating a new session. Fixes issue #2303 .
2011-04-17 09:15:21 +00:00
06e78d9d95
Code cosmetic: make handling of MySQL client flags more compact, remove unused options from published property.
2011-04-13 20:22:46 +00:00
82690c0476
Catch late errors in multi statements returning multi results, when a follower query of a resultset query contains errors. Must check if mysql_next_result() returns > 0. Fixes issue #2323 . See http://dev.mysql.com/doc/refman/5.0/en/c-api-multiple-queries.html .
2011-04-10 19:57:04 +00:00
2464070b92
Remove debug dialog
2011-04-10 11:44:53 +00:00
af2df77704
Ensure we pass nil/null for empty SSL parameters, where I thought PAnsiChar('') returns nil which is not the case obviously. Tries to fix issue #2336 .
2011-04-10 11:42:42 +00:00
6116df42ed
Reset current row number after deleting grid row, so SetRecNo jumps to the right row on a later created row. Fixes issue #2308 .
2011-04-07 22:10:20 +00:00
2e44387eb2
Remove seconds from uptime and connected time in status bar. Should fix flickering finally. See http://www.heidisql.com/forum.php?t=7977
2011-04-06 19:59:36 +00:00
1559c6ebe7
Adjust TAdoDBConnection.GetCharsetTable so it returns the same structure as other GetCharsetTable()s do. Fixes an exception when calling the table tools dialog on MSSQL.
2011-04-06 19:10:37 +00:00