mysql-test/suite/ndb_ddl/connect.inc
raw| 1 | --source include/have_ndb.inc |
| 2 | |
| 3 | |
| 4 | # No need to include the setup commands in .result file |
| 5 | --disable_query_log |
| 6 | |
| 7 | # Create one connection to each mysqld |
| 8 | let $i = $NUM_MYSQLDS; |
| 9 | while($i) |
| 10 | { |
| 11 | let $_port= \$MYSQLD_PORT_$i; |
| 12 | if (!$_port) |
| 13 | { |
| 14 | die Not all $MYSQLD_PORT_* env. variables are configured; |
| 15 | } |
| 16 | --connect(mysqld$i,127.0.0.1,root,,test,$_port) |
| 17 | |
| 18 | dec $i; |
| 19 | } |
| 20 | |
| 21 | --enable_query_log |