mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Also don't quote default values of a float type column, same as for integers.
This commit is contained in:
@@ -993,7 +993,7 @@ begin
|
||||
case Col.DefaultType of
|
||||
cdtNothing: CellText := 'No default';
|
||||
cdtText, cdtTextUpdateTS: begin
|
||||
if Col.DataType.Category = dtcInteger then
|
||||
if Col.DataType.Category in [dtcInteger, dtcReal] then
|
||||
CellText := Col.DefaultText
|
||||
else
|
||||
CellText := esc(Col.DefaultText);
|
||||
|
||||
Reference in New Issue
Block a user