From d08662c1ba3211f42b30dd0dbf4a31ab13fcba34 Mon Sep 17 00:00:00 2001 From: marco Date: Sat, 5 Mar 2011 00:25:10 +0000 Subject: [PATCH] * expanded a ifdef mysql50 to 5.0 and 5.1. Mantis 0017661 git-svn-id: trunk@17077 - --- packages/fcl-db/src/sqldb/mysql/mysqlconn.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/fcl-db/src/sqldb/mysql/mysqlconn.inc b/packages/fcl-db/src/sqldb/mysql/mysqlconn.inc index 0ed85ff45c..a9c0dc1d73 100644 --- a/packages/fcl-db/src/sqldb/mysql/mysqlconn.inc +++ b/packages/fcl-db/src/sqldb/mysql/mysqlconn.inc @@ -559,7 +559,7 @@ begin NewType := ftInteger; NewSize := 0; end; -{$ifdef mysql50} +{$if defined(mysql51) or defined(mysql50)} FIELD_TYPE_NEWDECIMAL, {$endif} FIELD_TYPE_DECIMAL: if ADecimals < 5 then @@ -867,7 +867,7 @@ begin VL := 0; Move(VL, Dest^, SizeOf(LargeInt)); end; -{$ifdef mysql50} +{$if defined(mysql51) or defined(mysql50)} FIELD_TYPE_NEWDECIMAL, {$endif} FIELD_TYPE_DECIMAL, FIELD_TYPE_FLOAT, FIELD_TYPE_DOUBLE: