diff options
author | konstantin@mysql.com <> | 2004-12-18 03:42:28 +0300 |
---|---|---|
committer | konstantin@mysql.com <> | 2004-12-18 03:42:28 +0300 |
commit | 7c369a240bccb1b468c7465f3e39edce6d3d96ba (patch) | |
tree | 5e1076c7e9725d187a455b520bffa7fc757b22bf /tests | |
parent | a2c9c8eaa074cdd08ec78ebfdecddea4ae88d47f (diff) | |
download | mariadb-git-7c369a240bccb1b468c7465f3e39edce6d3d96ba.tar.gz |
More work on truncations in libmysql: after-review fixes.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/client_test.c | 2 |
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); |