diff options
author | unknown <patg@krsna.> | 2005-03-15 18:49:58 -0800 |
---|---|---|
committer | unknown <patg@krsna.> | 2005-03-15 18:49:58 -0800 |
commit | 24dc8331f701384e0ccfc80ab99bb538f849e919 (patch) | |
tree | 68e7115fa3e6bd52c75ad5cbb7383ae028ce1ed8 /mysql-test/t/federated.test | |
parent | 977784d81995afd953d0195ee22292f94119cbdc (diff) | |
download | mariadb-git-24dc8331f701384e0ccfc80ab99bb538f849e919.tar.gz |
WL #2094 Federated Storage Engine
Changes to a test with a update to a table with 1001 columns, the last being a blob.
On HP, the test worked properly, but on other OSs, there's a problem with using the
blob column in an update where clause. The field method val_string(String *, char *)
should work, but doesn't seem to deal with blobd, and for some reason, cannot get
the correct value of the blob column from the byte pointer in update_row, "*old_data"
which is a byte pointer to the row in mysql format, that will be replaced with
"*new_data" (which conveniently has a field pointer to use to get values from).
Will document this.
mysql-test/r/federated.result:
New test results. These results have been tested on production and hpita2 successfully.
mysql-test/t/federated.test:
Changed blob column in this test due to some issues with HPUX handling it correctly
and other OSs not. Will document this (blobs in update where clause)
Diffstat (limited to 'mysql-test/t/federated.test')
-rw-r--r-- | mysql-test/t/federated.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/federated.test b/mysql-test/t/federated.test index 850213e6916..db7e712bd5f 100644 --- a/mysql-test/t/federated.test +++ b/mysql-test/t/federated.test @@ -556,7 +556,7 @@ int, i967 int, i968 int, i969 int, i970 int, i971 int, i972 int, i973 int, i974 int, i975 int, i976 int, i977 int, i978 int, i979 int, i980 int, i981 int, i982 int, i983 int, i984 int, i985 int, i986 int, i987 int, i988 int, i989 int, i990 int, i991 int, i992 int, i993 int, i994 int, i995 int, i996 int, i997 int, i998 -int, i999 int, i1000 int, b blob) row_format=dynamic; +int, i999 int, i1000 int, b varchar(256)) row_format=dynamic; connection master; DROP TABLE IF EXISTS federated.t1; @@ -686,7 +686,7 @@ int, i967 int, i968 int, i969 int, i970 int, i971 int, i972 int, i973 int, i974 int, i975 int, i976 int, i977 int, i978 int, i979 int, i980 int, i981 int, i982 int, i983 int, i984 int, i985 int, i986 int, i987 int, i988 int, i989 int, i990 int, i991 int, i992 int, i993 int, i994 int, i995 int, i996 int, i997 int, i998 -int, i999 int, i1000 int, b blob) +int, i999 int, i1000 int, b varchar(256)) row_format=dynamic ENGINE="FEDERATED" DEFAULT CHARSET=latin1 |