Ignore errors due to non existent columns in IS.ROUTINES on MSSQL. See http://www.heidisql.com/forum.php?t=12435

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4376 560a3889-bb33-0410-9f33-43a8a102dc09
Mark table key as modified after editing its contained column names, so such changes get posted to the server when clicking "Save". Fixes issue #3144.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4377 560a3889-bb33-0410-9f33-43a8a102dc09
Accept column rename when it has the same name as a deleted column. Fixes issue #3137.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4378 560a3889-bb33-0410-9f33-43a8a102dc09
Grid export: Remove zero padding to avoid octal => integer conversion in PHP. Fixes issue #3149.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4379 560a3889-bb33-0410-9f33-43a8a102dc09
Auto apply distinct accelerator chars to buttons on TTaskDialog. Fixes issue #3150.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4380 560a3889-bb33-0410-9f33-43a8a102dc09
MSSQL stored routine editor:
* Extend TAdoDBConnection.GetCreateCode for stored routines
* Extract the relevant routine code in TDBConnection.ParseRoutineStructure
* Match database name against ROUTINES.ROUTINE_CATALOG (not ROUTINE_SCHEMA). See http://www.heidisql.com/forum.php?t=12435 .

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4381 560a3889-bb33-0410-9f33-43a8a102dc09
Revert helpers.RemoveComments(), accidentally committed in r4110

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4382 560a3889-bb33-0410-9f33-43a8a102dc09
Try a new approach in TDBConnection.ParseRoutineStructure(). Should fix stripped backslashes from routine body, issue #3107.
* Use SHOW CREATE PROCEDURE/FUNCTION result again, instead of code from IS.ROUTINES
* Remove every known CREATE PROCEDURE/FUNCTION clause and use remaining text as routine body.
* Respect MS SQL function options, taken from http://msdn.microsoft.com/en-us/library/ms186755.aspx
* Introduce helpers.ExtractComment() for usage in ParseRoutineStructure() and ParseTableStructure()

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4383 560a3889-bb33-0410-9f33-43a8a102dc09
Fix wrong offset in db.table string when checking for foreign key match. Fixes issue #3160.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4384 560a3889-bb33-0410-9f33-43a8a102dc09
Fix repeated column comment in table editor. See http://www.heidisql.com/forum.php?t=12540

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4385 560a3889-bb33-0410-9f33-43a8a102dc09
Append number of columns and rows in query result tab caption. See http://www.heidisql.com/forum.php?t=12543

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4386 560a3889-bb33-0410-9f33-43a8a102dc09
Block "Empty tables" action if neither dbtree nor dbtab has focus. Fixes issue #3166.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4387 560a3889-bb33-0410-9f33-43a8a102dc09
Use "times" symbol × instead of the letter x. See http://www.heidisql.com/forum.php?t=12543

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4388 560a3889-bb33-0410-9f33-43a8a102dc09
Add "Global" column to ListVariables, and highlight values different to their session pendant.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4389 560a3889-bb33-0410-9f33-43a8a102dc09
Use internal flag to remember whether we have a NULL value when copying and pasting in grid fields. Fixes issue #3171.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4390 560a3889-bb33-0410-9f33-43a8a102dc09