| 1 |
# suite/funcs_1/t/is_statistics_mysql_embedded.test |
| 2 |
# |
| 3 |
# Check the content of information_schema.statistics about tables within |
| 4 |
# the database mysql for a high and a low privileged user. |
| 5 |
# Variant for the embedded server |
| 6 |
# The expected results must equal is_statistics_mysql except that all users |
| 7 |
# have all privileges (affects some result sets). |
| 8 |
# |
| 9 |
# Author: |
| 10 |
# 2008-06-06 mleich Create this this variant for the embedded server. |
| 11 |
# |
| 12 |
|
| 13 |
if (`SELECT VERSION() NOT LIKE '%embedded%'`) |
| 14 |
{ |
| 15 |
--skip Test requires: embedded server |
| 16 |
} |
| 17 |
--source include/have_innodb.inc |
| 18 |
let $database = mysql; |
| 19 |
let $my_where = WHERE table_schema = 'mysql'; |
| 20 |
--source suite/funcs_1/datadict/statistics.inc |