| 1 |
# We will use table_id as SDI ID & TYPE |
| 2 |
let SDI_ID = `SELECT TABLE_ID FROM INFORMATION_SCHEMA.INNODB_TABLES |
| 3 |
WHERE NAME = 'test/$TABLE_NAME'`; |
| 4 |
let SDI_TYPE = $SDI_ID; |
| 5 |
|
| 6 |
# Insert t1 Metadata into SDI Table |
| 7 |
# Note this is temporary as Server is not using it. |
| 8 |
# Server will insert a JSON/BSON into the SDI Table |
| 9 |
let TABLE_METADATA = `SHOW CREATE TABLE $TABLE_NAME`; |
| 10 |
|
| 11 |
# echo "t1_metadata is $TABLE_METADATA"; |
| 12 |
# echo "t1 sdi id is $SDI_ID"; |
| 13 |
# echo "t1 sdi type is $SDI_TYPE"; |
| 14 |
--source sdi_insert_row.inc |
| 15 |
--source sdi_get_row.inc |
| 16 |
|