summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorunknown <miguel@hegel.txg>2004-07-16 03:47:17 -0300
committerunknown <miguel@hegel.txg>2004-07-16 03:47:17 -0300
commit45cbab28f6363fe1cfa8228c22703d470c0f90f4 (patch)
tree279b9132a13ef3b7f72e2526cf48d4bfabc88c59 /sql/sql_parse.cc
parentacdf855008a69cee6b2a9bce198d89a69c038073 (diff)
downloadmariadb-git-45cbab28f6363fe1cfa8228c22703d470c0f90f4.tar.gz
Fixes for bug #4571 (Windows compabilities)
sql/opt_range.cc: Fix for unreferenced local variable, cast and indirection to different types sql/sp_head.cc: Fix for unreferenced variables and cast sql/sql_acl.cc: Fix for unreferenced variable sql/sql_db.cc: Fix for unreferenced variable and cast sql/sql_insert.cc: Fix for cast and redifinition of variable declared i (VC++ bug) sql/sql_parse.cc: Fix for cast sql/sql_update.cc: Fix for cast
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index fe2d6f8faa1..be063211a7d 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -3672,7 +3672,7 @@ purposes internal to the MySQL server", MYF(0));
}
if (res == 0)
- send_ok(thd, (thd->row_count_func < 0 ? 0 : thd->row_count_func));
+ send_ok(thd, (ulong) (thd->row_count_func < 0 ? 0 : thd->row_count_func));
else
goto error; // Substatement should already have sent error
}