summaryrefslogtreecommitdiff
path: root/mysql-test/r/query_cache.result
Commit message (Collapse)AuthorAgeFilesLines
* Merge bk-internal.mysql.com:/home/bk/mysql-5.1kostja@bodhi.local2007-03-201-0/+23
|\ | | | | | | into bodhi.local:/opt/local/work/mysql-5.1-runtime
| * Fix for BUG#735 "Prepared Statements: there is no support for Queryguilhem@gbichot3.local2007-03-091-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cache". WL#1569 "Prepared Statements: implement support of Query Cache". Prepared SELECTs did not look up in the query cache, and their results were not stored in the query cache. This made them slower than non-prepared SELECTs in some cases. The fix is to re-use the expanded query (the prepared query where "?" placeholders are replaced by their values, at execution time) for searching/storing in the query cache. It works fine for statements prepared via mysql_stmt_prepare(), which are the most commonly used and were the scope of this bugfix and WL. It works less fine for statements prepared via the SQL command PREPARE...FROM, which are still not using the query cache if they have at least one parameter (because then the expanded query contains names of user variables, and user variables don't work with the query cache, even in non-prepared queries). Note that results from prepared SELECTs, which are in the binary protocol, and results from normal SELECTs, which are in the text protocol, ignore each other in the query cache, because a result in the binary protocol should never be served to a SELECT expecting the text protocol and vice-versa. Note, after this patch, bug 25843 starts applying to query cache ("changing default database between PREPARE and EXECUTE of statement breaks binlog"), we need to fix it.
* | Merge pilot.mysql.com:/home/msvensson/mysql/mysql-5.0-maintmsvensson@pilot.mysql.com2007-02-141-1/+1
|\ \ | |/ |/| | | into pilot.mysql.com:/home/msvensson/mysql/mysql-5.1-new-maint
| * Bug#18628 mysql-test-run: security problem(part1)msvensson@pilot.mysql.com2007-02-141-1/+1
| | | | | | | | | | | | | | - Implement --secure-file-priv=<dir> option that limits "load_file", "LOAD DATA" and "SELECT .. INTO OUTFILE" to work with files in specified dir. - Use above option for mysqld in mysql-test-run.pl
* | Merge shellback.(none):/home/msvensson/mysql/mysql-5.1msvensson@shellback.(none)2006-11-291-0/+48
|\ \ | | | | | | | | | into shellback.(none):/home/msvensson/mysql/mysql-5.1-maint
| * \ Merge mysql.com:/home/hf/work/mysql-5.0-0mrgholyfoot/hf@deer.(none)2006-11-191-0/+48
| |\ \ | | |/ | | | | | | into mysql.com:/home/hf/work/mysql-5.1-mrg
| | * Merge bk@192.168.21.1:mysql-5.0-optholyfoot/hf@mysql.com/deer.(none)2006-11-171-0/+48
| | |\ | | | | | | | | | | | | into mysql.com:/home/hf/work/mysql-5.0-0mrg
| | | * Bug#20045: Server crash on INSERT ... SELECT ... FROM non-mergeable view evgen@moonbone.local2006-11-141-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The regression is caused by the fix for bug 14767. When INSERT ... SELECT used a view in the SELECT list that was not inlined, and there was an active transaction, the server could crash in Query_cache::invalidate. On INSERT ... SELECT only the table being inserted into is invalidated. Thus views that can't be inlined are skipped from invalidation. The bug manifests itself in two ways so there is 2 test cases. One checks that the only the table being inserted into is invalidated. And the second one checks that there is no crash on INSERT ... SELECT.
| | * | Merge neptunus.(none):/home/msvensson/mysql/same_tools/my50-same_toolsmsvensson@neptunus.(none)2006-10-061-2/+1
| | |\ \ | | | |/ | | |/| | | | | into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
| | | * Update tests and result files after running with new mysqltest that better ↵msvensson@neptunus.(none)2006-10-041-2/+1
| | | | | | | | | | | | | | | | detects problems with test files
* | | | Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBRtnurnberg@salvation.intern.azundris.com2006-11-171-0/+2
|/ / / | | | | | | | | | | | | Fix tests for new behaviour: an error is thrown if a NON DETERMINISTIC stored function (SF) is called during statement-based replication (SBR).
* | | Merge shellback.(none):/home/msvensson/mysql/my51-mysqltest-new-commandsmsvensson@shellback.(none)2006-09-291-2/+1
|\ \ \ | | | | | | | | | | | | into shellback.(none):/home/msvensson/mysql/same_tools/my51-same_tools
| * | | Remove spurious printout in result file caused by previous missing semicolonmsvensson@shellback.(none)2006-07-291-1/+0
| | | |
| * | | Add missing semicolon in query_cache testmsvensson@shellback.(none)2006-07-291-1/+1
| | | |
* | | | Merge dl145s.mysql.com:/data/bk/team_tree_merge/MERGE/mysql-5.0-optgkodinov@dl145s.mysql.com2006-09-181-6/+6
|\ \ \ \ | | |/ / | |/| | | | | | into dl145s.mysql.com:/data/bk/team_tree_merge/MERGE/mysql-5.1
| * | | merge fixesgkodinov@dl145s.mysql.com2006-09-181-6/+6
| | |/ | |/|
* | | Merge maint2.mysql.com:/data/localhome/tsmith/bk/mrg50/50tsmith@maint2.mysql.com2006-09-131-0/+6
|\ \ \ | |/ / | | | | | | into maint2.mysql.com:/data/localhome/tsmith/bk/mrg50/51
| * | Fixed bug #16249: different results for a range with an without index igor@rurik.mysql.com2006-08-311-0/+6
| | | | | | | | | | | | | | | | | | | | | when a range condition use an invalid DATETIME constant. Now we do not use invalid DATETIME constants to form end keys for range intervals: range analysis just ignores predicates with such constants.
* | | Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.1-optevgen@sunlight.local2006-08-011-2/+2
|\ \ \ | |_|/ |/| | | | | into sunlight.local:/local_work/tmp_merge-5.1-opt-mysql
| * | BUG#14940 "MySQL choose wrong index", v.2sergefp@mysql.com2006-07-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Make the range-et-al optimizer produce E(#table records after table condition is applied), - Make the join optimizer use this value, - Add "filtered" column to EXPLAIN EXTENDED to show fraction of records left after table condition is applied - Adjust test results, add comments
* | | Merge bodhi.local:/opt/local/work/tmp_mergekostja@bodhi.local2006-07-131-1/+1
|\ \ \ | |/ / |/| / | |/ into bodhi.local:/opt/local/work/mysql-5.1-runtime-merge-5.0
| * Bug#17203: "sql_no_cache sql_cache" in views created from prepared statementkroki@mysql.com2006-06-271-1/+1
| | | | | | | | | | | | | | | | The problem was that we restored SQL_CACHE, SQL_NO_CACHE flags in SELECT statement from internal structures based on value set later at runtime, not the original value set by the user. The solution is to remember that original value.
| * Fixes to embedded server to be able to run tests with itmonty@mysql.com2006-02-241-45/+0
| | | | | | | | (Needed for "list of pushes" web page and autopush)
| * Make it possible to run mysql-test-run.pl with default test suite in ↵msvensson@neptunus.(none)2006-01-241-0/+1
| | | | | | | | different vardir.
* | SHOW STATUS does not anymore change local status variables (except ↵monty@mysql.com2006-06-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | com_show_status). Global status variables are still updated. SHOW STATUS are not anymore put in slow query log because of no index usage. Implemntation done by removing orig_sql_command and moving logic of SHOW STATUS to mysql_excute_command() This simplifies code and allows us to remove some if statements all over the code. Upgraded uc_update_queries[] to sql_command_flags and added more bitmaps to better categorize commands. This allowed some overall simplifaction when testing sql_command. Fixes bugs: Bug#10210: running SHOW STATUS increments counters it shouldn't Bug#19764: SHOW commands end up in the slow log as table scans
* | After merge fixesmonty@mysql.com2006-02-261-1/+1
| |
* | Merge ↵msvensson@neptunus.(none)2006-02-071-0/+1
|\ \ | | | | | | | | | | | | | | | neptunus.(none):/home/msvensson/mysql/mysqltestrun_check_testcases/my51-mysqltestrun_check_testcases into neptunus.(none):/home/msvensson/mysql/mysql-5.1-new
| * \ Merge ↵msvensson@neptunus.(none)2006-02-071-0/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | neptunus.(none):/home/msvensson/mysql/mysqltestrun_check_testcases/my50-mysqltestrun_check_testcases into neptunus.(none):/home/msvensson/mysql/mysqltestrun_check_testcases/my51-mysqltestrun_check_testcases
| | * | Add new option "check-testcases" to mysql-test-run.plmsvensson@neptunus.(none)2006-01-261-0/+1
| | |/ | | | | | | | | | Cleanup the sideeffects from most of the testcases with sideeffects.
| | * postmerge fixbell@sanja.is.com.ua2005-12-011-25/+25
| | |
| | * Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1bell@sanja.is.com.ua2005-12-011-0/+25
| | |\ | | | | | | | | | | | | into sanja.is.com.ua:/home/bell/mysql/bk/work-merge1-5.0
* | | | Embedded-server related tests fixesholyfoot@deer.(none)2006-01-191-45/+0
|/ / /
* | | Merge moonbone.local:/work/15028-bug-5.0-mysqlevgen@moonbone.local2005-12-021-0/+25
|\ \ \ | | | | | | | | | | | | into moonbone.local:/work/15028-bug-5.1-new-mysql
| * | | query_cache.result:evgen@moonbone.local2005-12-021-25/+25
| | | | | | | | | | | | | | | | After merge fix
| * | | Manually mergedevgen@moonbone.local2005-12-021-0/+25
| |\ \ \ | | |/ / | |/| / | | |/
| | * We should skip beggining '(' characters when test query on possibilitybell@sanja.is.com.ua2005-12-011-0/+25
| | | | | | | | | | | | to be in the query cache. (BUG#14652)
* | | Table definition cache, part 2monty@mysql.com2005-11-231-0/+2
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The table opening process now works the following way: - Create common TABLE_SHARE object - Read the .frm file and unpack it into the TABLE_SHARE object - Create a TABLE object based on the information in the TABLE_SHARE object and open a handler to the table object Other noteworthy changes: - In TABLE_SHARE the most common strings are now LEX_STRING's - Better error message when table is not found - Variable table_cache is now renamed 'table_open_cache' - New variable 'table_definition_cache' that is the number of table defintions that will be cached - strxnmov() calls are now fixed to avoid overflows - strxnmov() will now always add one end \0 to result - engine objects are now created with a TABLE_SHARE object instead of a TABLE object. - After creating a field object one must call field->init(table) before using it - For a busy system this change will give you: - Less memory usage for table object - Faster opening of tables (if it's has been in use or is in table definition cache) - Allow you to cache many table definitions objects - Faster drop of table
* | Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0ramil@mysql.com2005-10-241-13/+157
|\ \ | | | | | | | | | into mysql.com:/usr/home/ram/work/5.0.b10303
| * | Bug #13231 mysqltest: fails to dectect when mysql_next_result failsmsvensson@neptunus.(none)2005-09-291-13/+157
| | | | | | | | | | | | | | | - Packets out of order when reading cached data stored by a normal select from a ps or vice versa. - Add pkt_nr to query cache flags
* | | fix (bug #10303: Misleading Last_query_cost value).ramil@mysql.com2005-09-061-0/+16
|/ /
* | fix after mergeacurtis@xiphis.org2005-08-111-6/+0
| |
* | Update test resultsjimw@mysql.com2005-08-041-0/+6
| |
* | Merge mysql.com:/home/jimw/my/mysql-4.1-cleanjimw@mysql.com2005-08-041-9/+9
|\ \ | |/ | | | | into mysql.com:/home/jimw/my/mysql-5.0-clean
| * Update test to deal with more relaxed datetime parsing.jimw@mysql.com2005-08-041-9/+9
| |
* | Merge deer.(none):/home/hf/work/mysql-4.1.cleanhf@deer.(none)2005-08-041-76/+0
|\ \ | |/ | | | | into deer.(none):/home/hf/work/mysql-5.0.clean
| * Fix for bug #9508 (query_cache test fails)hf@deer.(none)2005-07-291-76/+0
| | | | | | | | notembedded-specific part moved to the new test
| * Fix test casesjimw@mysql.com2005-07-051-1/+0
| |
* | Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0bell@sanja.is.com.ua2005-07-231-0/+79
|\ \ | | | | | | | | | into sanja.is.com.ua:/home/bell/mysql/bk/work-bug1-5.0
| * | store SERVER_MORE_RESULTS_EXISTS in key of query cache (BUG#6897)bell@sanja.is.com.ua2005-07-231-0/+79
| | |
* | | post-merge fixesbell@sanja.is.com.ua2005-07-051-90/+89
| | |