Commit Graph

3079 Commits

Author SHA1 Message Date
Ansgar Becker
3bfc4d0ffb Try to fix a rarely occurring access violation 2011-04-01 17:33:22 +00:00
Ansgar Becker
08e4e0666a Use unified method for getting database names. 2011-04-01 05:24:37 +00:00
Ansgar Becker
4142bed111 Quote identifiers with the right quote char when exporting to server. 2011-04-01 05:20:45 +00:00
Ansgar Becker
2816377c4a Fetch database names in MS SQL from sys.databases. Hopefully fixes an empty result on some servers for EXEC sp_databases. 2011-03-31 22:08:15 +00:00
Ansgar Becker
87c31b84ac MS SQL hides information_schema in all places. Return a hardcoded list of objects. 2011-03-31 22:05:40 +00:00
Ansgar Becker
705393a36c Try to fix some randomly occurring access violation in TMainForm.StatusBarDrawPanel, when accessing the current connection. Fixes issue #2304. Instead of the lock/computer icon, draw a vendor specific icon instead. 2011-03-31 21:37:59 +00:00
Ansgar Becker
e3661efd58 Column type detection must not use the type index as enumerator any longer, as not all type indexes are used for all dbms. Fixes issue #2365. 2011-03-31 19:40:38 +00:00
Ansgar Becker
0c5206c002 Handle multiple query results in MS SQL. 2011-03-30 22:34:01 +00:00
Ansgar Becker
fb20c8e75f Fix offset portion in LIMIT clause, at least for MySQL. 2011-03-30 05:37:52 +00:00
Ansgar Becker
a6d2271988 Avoid accessing connection object if not available, to fix an access violation in session manager when pressing "new". See http://www.heidisql.com/forum.php?t=8064 2011-03-30 05:22:39 +00:00
Ansgar Becker
4fbf2c23dd Introduce experimental MS SQL support 2011-03-29 23:20:21 +00:00
Ansgar Becker
7703280a0e Increase border size, and add drop shadow to icon to enhance contrast in lower area 2011-03-25 07:20:00 +00:00
Ansgar Becker
618695ecc0 Make the circle border semi transparent 2011-03-20 09:47:43 +00:00
Ansgar Becker
7f724a01d3 Again try out a logo which this time is very similar to the old one, just renewed effects. See issue #2332. 2011-03-20 07:39:24 +00:00
Ansgar Becker
7022bf3fcd Remove unused forward declaration. 2011-03-18 06:49:51 +00:00
Ansgar Becker
a9f1f076b0 Fix two minor compiler warnings. 2011-03-17 23:07:02 +00:00
Ansgar Becker
49a97584e6 Code preparation for non-MySQL connections: Extract abstract stuff into a new TDBConnection class, and let TMySQLConnection derive from that. Same with TDBQuery / TMySQLQuery. See issue #1008. 2011-03-17 23:03:54 +00:00
Ansgar Becker
24adc029b2 Ensure we fetch all available database names without passing a custom list, in session managers database selector. 2011-03-14 19:27:00 +00:00
Ansgar Becker
5f573619c4 mysql_ssl_set() always returns 0. No need to check if it does not. 2011-03-14 06:46:50 +00:00
Ansgar Becker
2a3466598b Remove duplicated database names from user passed list. Fixes issue #2322. 2011-03-13 22:35:18 +00:00
Ansgar Becker
56595d6df6 Let the session manager benefit from the additional fall back in TMySQLConnection.GetAllDatabases(), if SHOW DATABASES fails when db pulldown is triggered. 2011-03-13 22:24:19 +00:00
Ansgar Becker
3c0da9de03 Make search input find matching items case sensitively. Fixes issue #2343. 2011-03-13 19:04:38 +00:00
Ansgar Becker
a44e2308db Enhance quick filter menu items: Support cell values from multiple selected rows. Fixes issue #2341. 2011-03-12 14:11:20 +00:00
Ansgar Becker
d84e75ace0 Allow passing only CA certificate for SSL connections. Fixes issue #2336. 2011-03-12 08:59:53 +00:00
Ansgar Becker
ba8a93bbd9 Set toGhostedIfUnfocused property in table tools' object tree - feels annoying to switch between ghosted and normal when tree is focused and unfocused. 2011-03-10 20:16:41 +00:00
Ansgar Becker
6572de2f3b Display sum of all checked objects in lower left label of table tools dialog. 2011-03-10 20:13:58 +00:00
Ansgar Becker
3e0bd65315 Fall back to select database name from information_schema.schemata table, if SHOW DATABASES fails. Fixes issue #1485. 2011-03-10 18:42:53 +00:00
Ansgar Becker
712369bb89 Remove unused function mappings. 2011-03-09 21:20:08 +00:00
Ansgar Becker
9451680e2e Silence privilege error when user is not allowed to fire SHOW DATABASES. See issue #1485. 2011-03-09 20:20:33 +00:00
Ansgar Becker
94f31b30b1 Fix detection of table name for editing joined tables, causing UPDATEs on the wrong table. This still leaves that problem for situations where tables are joined with a view. Fixes issue #2335. 2011-03-08 23:08:23 +00:00
Ansgar Becker
29c4851991 Final logo? Maybe. 2011-03-06 12:14:36 +00:00
Ansgar Becker
31e3729cc8 Again, try out another logo style: green, white and transparent. 2011-03-04 07:20:04 +00:00
Ansgar Becker
a5fe0f74d5 Undo previous commit - caused ping for each parsed column, which was a performance issue. Do a manual .First instead. 2011-03-03 21:42:33 +00:00
Ansgar Becker
e088db535f Fix undetected column collation, caused by non rewound collations list. See http://www.heidisql.com/forum.php?t=7893. 2011-03-03 21:35:57 +00:00
Ansgar Becker
45d4bcc5f7 Try to fix AV on tab closing, this time by avoiding calls to TControl.ClientToScreen respectively ScreenToClient, which I both suspect to be buggy. Fixes issue #1935. 2011-03-03 20:25:16 +00:00
Ansgar Becker
34c1969f5f Fix wrong "0 %" display when table has 0 rows. 2011-03-03 19:44:28 +00:00
Ansgar Becker
afc9f490c1 Display nothing instead of "-1" for processed rows in case of non-tables. See http://www.heidisql.com/forum.php?t=7895 2011-03-03 19:40:31 +00:00
Ansgar Becker
972aa9e4d2 Display the real row count at the end of exporting table data, using an internal counter, to enhance accuracy. See http://www.heidisql.com/forum.php?t=7895 2011-03-03 19:21:35 +00:00
Ansgar Becker
30e0a03c2d Wait for threaded user queries to finish before proceeding, in TMySQLConnection.Query(). Should fix the problem with parallel queries, described in issue #1509. 2011-03-02 07:54:42 +00:00
Ansgar Becker
6cd32759e3 Query threads are set to FreeOnTerminate, so there is no need to free them manually. Fixes an access violation. 2011-03-01 23:10:54 +00:00
Ansgar Becker
922eca3080 Code cosmetic - avoid calling Exit when we have the chance to jump to Except instead. 2011-03-01 22:39:09 +00:00
Ansgar Becker
294061030e Now that user queries do not block the GUI, you can switch to another main tab. Add some safety code when detecting the right tab for a thread. 2011-03-01 22:35:46 +00:00
Ansgar Becker
4d90a5901e Implement threaded execution of user queries, using a TThread descendant class. Fixes the most starred issue #1509. However, later clicks which fire some parallel query are a problem now, as the server kills the connection when you do that. In some cases there should popup the "Commands out of sync" error. 2011-03-01 22:32:55 +00:00
Ansgar Becker
ff3fd3696f Go back to a more known style for the logo - old colors again, with a plane 3d effect. 2011-02-28 22:35:25 +00:00
Ansgar Becker
51259dce10 Introduce a different logo style: green, black and purple. 2011-02-27 21:21:57 +00:00
Ansgar Becker
06d7a97798 Handle multiple queries in table editor's apply action. This way, special queries for edited foreign keys and dropping defaults are revealed in the "ALTER code" tab. Moved from ApplyModifications. 2011-02-19 08:22:17 +00:00
Ansgar Becker
7225c031e4 Delete unsupported packages 2011-02-17 00:36:17 +00:00
Ansgar Becker
b50659135c Again, move code for loading libmysql.dll - the right place is now the connection object itself, which loads the library on demand, in SetActive(). This enables the application to start independently of an existent library, raising an error when pressing the connect button. Also, this is a first step towards multi-dbms. 2011-02-17 00:26:53 +00:00
Ansgar Becker
de7ba86e23 Revert r3695 and raise a usable error message much earlier, short after mysql_api.pas has assigned procedures from libmysql.dll . Also, remove procedure names which are no longer present in the current lib. 2011-02-16 21:40:20 +00:00
Ansgar Becker
06ae6b9c8c Drop default column value if user selects "No default". Fixes issue #2311. 2011-02-16 19:46:03 +00:00