-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDEV-34002 Initialise fields in spider_db_handler
Otherwise it may result in nonsensical values like 190 for a boolean.
- Loading branch information
1 parent
40dd5b8
commit d524cb5
Showing
3 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
INSTALL PLUGIN Spider SONAME 'ha_spider.so'; | ||
CREATE TABLE t (c DATE, c2 VARCHAR(1025) CHARACTER SET utf8mb3, UNIQUE KEY k(c2)) ENGINE=SPIDER; | ||
UPDATE t SET c='2'; | ||
ERROR HY000: Unable to connect to foreign data source: localhost | ||
drop table t; | ||
Warnings: | ||
Warning 1620 Plugin is busy and will be uninstalled on shutdown | ||
Note 1305 PLUGIN SPIDER_ALLOC_MEM does not exist | ||
Note 1305 PLUGIN SPIDER_WRAPPER_PROTOCOLS does not exist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
INSTALL PLUGIN Spider SONAME 'ha_spider.so'; | ||
CREATE TABLE t (c DATE, c2 VARCHAR(1025) CHARACTER SET utf8mb3, UNIQUE KEY k(c2)) ENGINE=SPIDER; | ||
--error ER_CONNECT_TO_FOREIGN_DATA_SOURCE | ||
UPDATE t SET c='2'; | ||
drop table t; | ||
--disable_query_log | ||
--source ../../include/clean_up_spider.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters