mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Fix issue #1270, Table editor detects DEFAULT 'xyz' as DEFAULT NULL if table has collation
This commit is contained in:
@ -335,7 +335,7 @@ begin
|
||||
Props[2] := BoolToStr(False);
|
||||
|
||||
// Collation
|
||||
rxCol.Expression := '^(CHARACTER SET \w+)?\s+COLLATE (\w+)\b';
|
||||
rxCol.Expression := '^(CHARACTER SET \w+\s+)?COLLATE (\w+)\b';
|
||||
if rxCol.Exec(ColSpec) then begin
|
||||
Props[6] := rxCol.Match[2];
|
||||
Delete(ColSpec, 1, rxCol.MatchLen[0]+1);
|
||||
|
Reference in New Issue
Block a user