summaryrefslogtreecommitdiff
path: root/tests/mysql_client_test.c
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2006-03-04 23:04:48 +0300
committerkonstantin@mysql.com <>2006-03-04 23:04:48 +0300
commit951943c22a84b50eeadb0339689c24209095d269 (patch)
treec435bb9dff4411cad34553ae37dbff9da442ae09 /tests/mysql_client_test.c
parentefe090066980b3bed34535432cefc642b627f9dd (diff)
downloadmariadb-git-951943c22a84b50eeadb0339689c24209095d269.tar.gz
Undo the patch for Bug#16144 "mysql_stmt_attr_get type error",
it breaks binary compatibility. The patch will be left intact in 5.1. Warning: this changeset should be null-merged into 5.1. A separate commit in order to push into the release clone of 5.0.19.
Diffstat (limited to 'tests/mysql_client_test.c')
-rw-r--r--tests/mysql_client_test.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index 97511986f25..b1ea5f8ea06 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -14758,24 +14758,6 @@ static void test_bug16143()
}
-/* Bug #16144: mysql_stmt_attr_get type error */
-
-static void test_bug16144()
-{
- const my_bool flag_orig= (my_bool) 0xde;
- my_bool flag= flag_orig;
- MYSQL_STMT *stmt;
- myheader("test_bug16144");
-
- /* Check that attr_get returns correct data on little and big endian CPUs */
- stmt= mysql_stmt_init(mysql);
- mysql_stmt_attr_set(stmt, STMT_ATTR_UPDATE_MAX_LENGTH, (const void*) &flag);
- mysql_stmt_attr_get(stmt, STMT_ATTR_UPDATE_MAX_LENGTH, (void*) &flag);
- DIE_UNLESS(flag == flag_orig);
-
- mysql_stmt_close(stmt);
-}
-
/*
Bug #15613: "libmysqlclient API function mysql_stmt_prepare returns wrong
field length"
@@ -15137,7 +15119,6 @@ static struct my_tests_st my_tests[]= {
{ "test_opt_reconnect", test_opt_reconnect },
{ "test_bug12744", test_bug12744 },
{ "test_bug16143", test_bug16143 },
- { "test_bug16144", test_bug16144 },
{ "test_bug15613", test_bug15613 },
{ "test_bug14169", test_bug14169 },
{ 0, 0 }