1--- fulltext_search.result 2013-01-22 22:05:05.246633000 +0400 2+++ fulltext_search.reject 2013-01-23 02:50:28.807890289 +0400 3@@ -4,129 +4,27 @@ 4 v2 TEXT <CUSTOM_COL_OPTIONS>, 5 FULLTEXT v1 (v1) 6 ) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>; 7-SHOW INDEXES IN t1; 8-Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_comment 9-t1 1 v1 1 v1 # # NULL NULL YES FULLTEXT 10-INSERT INTO t1 (v0,v1,v2) VALUES ('text1','Here is a list of recommended books on MariaDB and MySQL. We\'ve provided links to Amazon.com here for convenience, but they can be found at many other bookstores, both online and off. 11-If you want to have your favorite MySQL / MariaDB book listed here, please leave a comment. 12-For developers who want to code on MariaDB or MySQL 13-* Understanding MySQL Internals by Sasha Pachev, former MySQL developer at MySQL AB. 14-o This is the only book we know about that describes the internals of MariaDB / MySQL. A must have for anyone who wants to understand and develop on MariaDB! 15-o Not all topics are covered and some parts are slightly outdated, but still the best book on this topic. 16-* MySQL 5.1 Plugin Development by Sergei Golubchik and Andrew Hutchings 17-o A must read for anyone wanting to write a plugin for MariaDB, written by the Sergei who designed the plugin interface for MySQL and MariaDB! 18-For MariaDB / MySQL end users 19-* MariaDB Crash Course by Ben Forta 20-o First MariaDB book! 21-o For people who want to learn SQL and the basics of MariaDB. 22-o Now shipping. Purchase at Amazon.com or your favorite bookseller. 23-* SQL-99 Complete, Really by Peter Gulutzan & Trudy Pelzer. 24-o Everything you wanted to know about the SQL 99 standard. Excellent reference book! 25-o Free to read in the Knowledgebase! 26-* MySQL (4th Edition) by Paul DuBois 27-o The \'default\' book to read if you wont to learn to use MySQL / MariaDB. 28-* MySQL Cookbook by Paul DuBois 29-o A lot of examples of how to use MySQL. As with all of Paul\'s books, it\'s worth its weight in gold and even enjoyable reading for such a \'dry\' subject. 30-* High Performance MySQL, Second Edition, By Baron Schwartz, Peter Zaitsev, Vadim Tkachenko, Jeremy D. Zawodny, Arjen Lentz, Derek J. Balling, et al. 31-o \"High Performance MySQL is the definitive guide to building fast, reliable systems with MySQL. Written by noted experts with years of real-world experience building very large systems, this book covers every aspect of MySQL performance in detail, and focuses on robustness, security, and data integrity. Learn advanced techniques in depth so you can bring out MySQL\'s full power.\" (From the book description at O\'Reilly) 32- 33- * MySQL Admin Cookbook 34- o A quick step-by-step guide for MySQL users and database administrators to tackle real-world challenges with MySQL configuration and administration 35- 36- * MySQL 5.0 Certification Study Guide, By Paul DuBois, Stefan Hinz, Carsten Pedersen 37- o This is the official guide to cover the passing of the two MySQL Certification examinations. It is valid till version 5.0 of the server, so while it misses all the features available in MySQL 5.1 and greater (including MariaDB 5.1 and greater), it provides a good basic understanding of MySQL for the end-user. ', 38-'There are several reasons why contributing code is one of the easiest and most rewarding ways to contribute to MariaDB: 39- 40- 1. We are very responsive toward reviews of submitted code and as soon as the review is done, the submitted code is merged into an existing MariaDB tree and made available to everyone, not just select customers. 41- 2. Code reviews are performed by the MariaDB core development team and the quality, detail, and timeliness of our reviews are better than you will find elsewhere. 42- 3. With MariaDB everyone has access to the latest code. 43- 4. If a patch is very safe and/or very useful we are willing to push it into the stable code (as long as it can\'t break any existing applications). We are willing to do this to ensure the freedom to add small, needed fixes on a stable release so users don\'t have to wait a year for something to be added which is critical to their business. 44- 5. If you are an active contributor, you can become a member of maria-captains, even if you aren\'t working for Monty Program Ab. All captains have the same rights as any other captain to accept and reject patches. Our development model is truly open for everyone. 45-The Contributing Code page details many of the actual steps involved in working with the MariaDB source code. It\'s important that you use the same tools and submit patches in the same way as other developers to keep development running smoothly.' 46- ), ('text2','test1','test2'); 47-SELECT v0 FROM t1 WHERE MATCH(v1) AGAINST ('contributing' IN NATURAL LANGUAGE MODE); 48-v0 49-INSERT INTO t1 (v0,v1,v2) VALUES ('text3','test','test'); 50-SELECT v0, MATCH(v1) AGAINST('contributing' IN NATURAL LANGUAGE MODE) AS rating FROM t1 WHERE MATCH(v1) AGAINST ('contributing' IN NATURAL LANGUAGE MODE); 51-v0 rating 52-INSERT INTO t1 (v0,v1,v2) VALUES ('text4','Contributing more...','...is a good idea'),('text5','test','test'); 53-SELECT v0, MATCH(v1) AGAINST('contributing') AS rating FROM t1 WHERE MATCH(v1) AGAINST ('contributing'); 54-v0 rating 55-text4 1.3705332279205322 56-SELECT v0 FROM t1 WHERE MATCH(v1,v2) AGAINST ('-test1 +critical +Cook*' IN BOOLEAN MODE); 57-v0 58-text1 59-SELECT v0 FROM t1 WHERE MATCH(v1,v2) AGAINST ('-patch +critical +Cook*' IN BOOLEAN MODE); 60-v0 61-SELECT v0, MATCH(v1) AGAINST('database' WITH QUERY EXPANSION) AS rating FROM t1 WHERE MATCH(v1) AGAINST ('database' WITH QUERY EXPANSION); 62-v0 rating 63-text1 178.11756896972656 64-DROP TABLE t1; 65+ERROR HY000: The storage engine MRG_MyISAM doesn't support FULLTEXT indexes 66+# ERROR: Statement ended with errno 1214, errname ER_TABLE_CANT_HANDLE_FT (expected to succeed) 67+# ------------ UNEXPECTED RESULT ------------ 68+# The statement|command finished with ER_TABLE_CANT_HANDLE_FT. 69+# FULLTEXT indexes or VARCHAR|TEXT data types or the mix could be unsupported|malfunctioning, or the problem was caused by previous errors. 70+# You can change the engine code, or create an rdiff, or disable the test by adding it to disabled.def. 71+# Further in this test, the message might sometimes be suppressed; a part of the test might be skipped. 72+# Also, this problem may cause a chain effect (more errors of different kinds in the test). 73+# ------------------------------------------- 74 CREATE TABLE t1 (v0 VARCHAR(64) <CUSTOM_COL_OPTIONS>, 75 v1 VARCHAR(16384) <CUSTOM_COL_OPTIONS>, 76 v2 TEXT <CUSTOM_COL_OPTIONS>, 77 FULLTEXT v1 (v1), 78 FULLTEXT v1_v2 (v1,v2) 79 ) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>; 80-SHOW INDEXES IN t1; 81-Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_comment 82-t1 1 v1 1 v1 # # NULL NULL YES FULLTEXT 83-t1 1 v1_v2 1 v1 # # NULL NULL YES FULLTEXT 84-t1 1 v1_v2 2 v2 # # NULL NULL YES FULLTEXT 85-INSERT INTO t1 (v0,v1,v2) VALUES ('text1','Here is a list of recommended books on MariaDB and MySQL. We\'ve provided links to Amazon.com here for convenience, but they can be found at many other bookstores, both online and off. 86-If you want to have your favorite MySQL / MariaDB book listed here, please leave a comment. 87-For developers who want to code on MariaDB or MySQL 88-* Understanding MySQL Internals by Sasha Pachev, former MySQL developer at MySQL AB. 89-o This is the only book we know about that describes the internals of MariaDB / MySQL. A must have for anyone who wants to understand and develop on MariaDB! 90-o Not all topics are covered and some parts are slightly outdated, but still the best book on this topic. 91-* MySQL 5.1 Plugin Development by Sergei Golubchik and Andrew Hutchings 92-o A must read for anyone wanting to write a plugin for MariaDB, written by the Sergei who designed the plugin interface for MySQL and MariaDB! 93-For MariaDB / MySQL end users 94-* MariaDB Crash Course by Ben Forta 95-o First MariaDB book! 96-o For people who want to learn SQL and the basics of MariaDB. 97-o Now shipping. Purchase at Amazon.com or your favorite bookseller. 98-* SQL-99 Complete, Really by Peter Gulutzan & Trudy Pelzer. 99-o Everything you wanted to know about the SQL 99 standard. Excellent reference book! 100-o Free to read in the Knowledgebase! 101-* MySQL (4th Edition) by Paul DuBois 102-o The \'default\' book to read if you wont to learn to use MySQL / MariaDB. 103-* MySQL Cookbook by Paul DuBois 104-o A lot of examples of how to use MySQL. As with all of Paul\'s books, it\'s worth its weight in gold and even enjoyable reading for such a \'dry\' subject. 105-* High Performance MySQL, Second Edition, By Baron Schwartz, Peter Zaitsev, Vadim Tkachenko, Jeremy D. Zawodny, Arjen Lentz, Derek J. Balling, et al. 106-o \"High Performance MySQL is the definitive guide to building fast, reliable systems with MySQL. Written by noted experts with years of real-world experience building very large systems, this book covers every aspect of MySQL performance in detail, and focuses on robustness, security, and data integrity. Learn advanced techniques in depth so you can bring out MySQL\'s full power.\" (From the book description at O\'Reilly) 107- 108- * MySQL Admin Cookbook 109- o A quick step-by-step guide for MySQL users and database administrators to tackle real-world challenges with MySQL configuration and administration 110- 111- * MySQL 5.0 Certification Study Guide, By Paul DuBois, Stefan Hinz, Carsten Pedersen 112- o This is the official guide to cover the passing of the two MySQL Certification examinations. It is valid till version 5.0 of the server, so while it misses all the features available in MySQL 5.1 and greater (including MariaDB 5.1 and greater), it provides a good basic understanding of MySQL for the end-user. ', 113-'There are several reasons why contributing code is one of the easiest and most rewarding ways to contribute to MariaDB: 114- 115- 1. We are very responsive toward reviews of submitted code and as soon as the review is done, the submitted code is merged into an existing MariaDB tree and made available to everyone, not just select customers. 116- 2. Code reviews are performed by the MariaDB core development team and the quality, detail, and timeliness of our reviews are better than you will find elsewhere. 117- 3. With MariaDB everyone has access to the latest code. 118- 4. If a patch is very safe and/or very useful we are willing to push it into the stable code (as long as it can\'t break any existing applications). We are willing to do this to ensure the freedom to add small, needed fixes on a stable release so users don\'t have to wait a year for something to be added which is critical to their business. 119- 5. If you are an active contributor, you can become a member of maria-captains, even if you aren\'t working for Monty Program Ab. All captains have the same rights as any other captain to accept and reject patches. Our development model is truly open for everyone. 120-The Contributing Code page details many of the actual steps involved in working with the MariaDB source code. It\'s important that you use the same tools and submit patches in the same way as other developers to keep development running smoothly.' 121- ), ('text2','test1','test2'); 122-SELECT v0 FROM t1 WHERE MATCH(v1,v2) AGAINST ('contributing' IN NATURAL LANGUAGE MODE); 123-v0 124-INSERT INTO t1 (v0,v1,v2) VALUES ('text3','test','test'); 125-SELECT v0, MATCH(v1,v2) AGAINST('contributing' IN NATURAL LANGUAGE MODE) AS rating FROM t1 WHERE MATCH(v1,v2) AGAINST ('contributing' IN NATURAL LANGUAGE MODE); 126-v0 rating 127-text1 0.2809644043445587 128-INSERT INTO t1 (v0,v1,v2) VALUES ('text4','Contributing more...','...is a good idea'),('text5','test','test'); 129-SELECT v0, MATCH(v1) AGAINST('contributing') AS rating FROM t1 WHERE MATCH(v1) AGAINST ('contributing'); 130-v0 rating 131-text4 1.3705332279205322 132-SELECT v0 FROM t1 WHERE MATCH(v1,v2) AGAINST ('-test1 +critical +Cook*' IN BOOLEAN MODE); 133-v0 134-text1 135-SELECT v0 FROM t1 WHERE MATCH(v1,v2) AGAINST ('-patch +critical +Cook*' IN BOOLEAN MODE); 136-v0 137-SELECT v0, MATCH(v1,v2) AGAINST('database' WITH QUERY EXPANSION) AS rating FROM t1 WHERE MATCH(v1,v2) AGAINST ('database' WITH QUERY EXPANSION); 138-v0 rating 139-text1 190.56150817871094 140-text4 1.1758291721343994 141-DROP TABLE t1; 142+ERROR HY000: The storage engine MRG_MyISAM doesn't support FULLTEXT indexes 143+# ERROR: Statement ended with errno 1214, errname ER_TABLE_CANT_HANDLE_FT (expected to succeed) 144+# ------------ UNEXPECTED RESULT ------------ 145+# The statement|command finished with ER_TABLE_CANT_HANDLE_FT. 146+# FULLTEXT indexes or multiple keys or VARCHAR|TEXT data types or the mix could be unsupported|malfunctioning, or the problem was caused by previous errors. 147+# You can change the engine code, or create an rdiff, or disable the test by adding it to disabled.def. 148+# Further in this test, the message might sometimes be suppressed; a part of the test might be skipped. 149+# Also, this problem may cause a chain effect (more errors of different kinds in the test). 150+# ------------------------------------------- 151