summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2004-12-18 03:42:28 +0300
committerunknown <konstantin@mysql.com>2004-12-18 03:42:28 +0300
commitd9b8e4b84c0c377ac4cc7f6d762f304511a41868 (patch)
tree5e1076c7e9725d187a455b520bffa7fc757b22bf /tests
parentb5fcf743a691d7fee703faa385309c4dd9114ba8 (diff)
downloadmariadb-git-d9b8e4b84c0c377ac4cc7f6d762f304511a41868.tar.gz
More work on truncations in libmysql: after-review fixes.
libmysql/libmysql.c: More post-review fixes for truncation patch: - use my_strtoll10 - workaround for Intel FPU executive precision feature - one case when we didn't report possible truncation fixed. strings/my_strtoll10.c: Fix a comment. tests/client_test.c: One more test now passes
Diffstat (limited to 'tests')
-rw-r--r--tests/client_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/client_test.c b/tests/client_test.c
index f2faf656ea6..25dcb951d3a 100644
--- a/tests/client_test.c
+++ b/tests/client_test.c
@@ -12240,7 +12240,7 @@ static void test_truncation()
/* int -> float: truncation, not enough bits in float */
DIE_UNLESS(++bind < bind_array + bind_count);
- /* do nothing: due to a gcc bug result here is not predictable */
+ DIE_UNLESS(*bind->error);
/* int -> double: no truncation */
DIE_UNLESS(++bind < bind_array + bind_count);