| 1 |
############################################### |
| 2 |
# # |
| 3 |
# Prepared Statements test on NDB tables # |
| 4 |
# # |
| 5 |
############################################### |
| 6 |
|
| 7 |
-- source include/have_ndb.inc |
| 8 |
|
| 9 |
# Turn off ndb_join_pushdown |
| 10 |
--disable_query_log |
| 11 |
set @save_ndb_join_pushdown = @@session.ndb_join_pushdown; |
| 12 |
set ndb_join_pushdown = false; |
| 13 |
--enable_query_log |
| 14 |
|
| 15 |
# Set default engine type to use for these tests |
| 16 |
let $type= 'NDB' ; |
| 17 |
|
| 18 |
# Source the upstream include files which are also |
| 19 |
# used by ps_2myisam, ps_3innodb etc. This means that when |
| 20 |
# these upstream include files are modified the ps_7ndb.result file |
| 21 |
# need to be updated. Sometimes also the upstream include files need |
| 22 |
# to be adapted to also work with NDB tables |
| 23 |
-- source include/ps_create.inc |
| 24 |
-- source include/ps_renew.inc |
| 25 |
|
| 26 |
-- source include/ps_query.inc |
| 27 |
-- source include/ps_modify.inc |
| 28 |
-- source include/ps_modify1.inc |
| 29 |
-- source include/ps_conv.inc |
| 30 |
|
| 31 |
drop table t1, t9; |
| 32 |
|
| 33 |
# Restore original ndb_join_pushdown value |
| 34 |
--disable_query_log |
| 35 |
set ndb_join_pushdown = @save_ndb_join_pushdown; |
| 36 |
--enable_query_log |