mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
A lot of fixes for prepared statements (PS):
New mysqltest that can run mysqltest with PS Added support for ZEROFILL in PS Fixed crash when one called mysql_stmt_store_result() without a preceding mysql_stmt_bind_result() Updated test cases to support --ps-protocol (Some tests are still run using old protocol) Fixed crash in PS when using SELECT * FROM t1 NATURAL JOIN t2... Fixed crash in PS when using sub queries Create table didn't signal when table was created. This could cause a "DROP TABLE created_table" in another thread to wait "forever" Fixed wrong permissions check in PS and multi-table updates (one could get permission denied for legal quries) Fix for PS and SELECT ... PROCEDURE Reset all warnings when executing a new PS query group_concat(...ORDER BY) didn't work with PS Fixed problem with test suite when not using innodb
This commit is contained in:
@ -11,19 +11,19 @@ FULLTEXT KEY a(b,c)
|
||||
INSERT INTO t1 VALUES (1,'lala lolo lili','oooo aaaa pppp');
|
||||
INSERT INTO t1 VALUES (2,'asdf fdsa','lkjh fghj');
|
||||
INSERT INTO t1 VALUES (3,'qpwoei','zmxnvb');
|
||||
SELECT a, MATCH b AGAINST ('lala lkjh') FROM t1;
|
||||
a MATCH b AGAINST ('lala lkjh')
|
||||
1 0.67003107070923
|
||||
2 0
|
||||
3 0
|
||||
SELECT a, MATCH c AGAINST ('lala lkjh') FROM t1;
|
||||
a MATCH c AGAINST ('lala lkjh')
|
||||
1 0
|
||||
2 0.67756325006485
|
||||
3 0
|
||||
SELECT a, MATCH b,c AGAINST ('lala lkjh') FROM t1;
|
||||
a MATCH b,c AGAINST ('lala lkjh')
|
||||
1 0.64840710163116
|
||||
2 0.66266459226608
|
||||
3 0
|
||||
SELECT a, round(MATCH b AGAINST ('lala lkjh'),5) FROM t1;
|
||||
a round(MATCH b AGAINST ('lala lkjh'),5)
|
||||
1 0.67003
|
||||
2 0.00000
|
||||
3 0.00000
|
||||
SELECT a, round(MATCH c AGAINST ('lala lkjh'),5) FROM t1;
|
||||
a round(MATCH c AGAINST ('lala lkjh'),5)
|
||||
1 0.00000
|
||||
2 0.67756
|
||||
3 0.00000
|
||||
SELECT a, round(MATCH b,c AGAINST ('lala lkjh'),5) FROM t1;
|
||||
a round(MATCH b,c AGAINST ('lala lkjh'),5)
|
||||
1 0.64841
|
||||
2 0.66266
|
||||
3 0.00000
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user