| @@ 572-584 (lines=13) @@ | ||
| 569 | /** |
|
| 570 | * @ticket 21212 |
|
| 571 | */ |
|
| 572 | function data_test_get_table_charset() |
|
| 573 | { |
|
| 574 | $table_name = 'test_get_table_charset'; |
|
| 575 | ||
| 576 | $vars = array(); |
|
| 577 | foreach( $this->table_and_column_defs as $i => $value ) { |
|
| 578 | $this_table_name = $table_name . '_' . $i; |
|
| 579 | $drop = "DROP TABLE IF EXISTS $this_table_name"; |
|
| 580 | $create = "CREATE TABLE $this_table_name {$value['definition']}"; |
|
| 581 | $vars[] = array( $drop, $create, $this_table_name, $value['table_expected'] ); |
|
| 582 | } |
|
| 583 | ||
| 584 | return $vars; |
|
| 585 | } |
|
| 586 | ||
| 587 | /** |
|
| @@ 614-626 (lines=13) @@ | ||
| 611 | /** |
|
| 612 | * @ticket 21212 |
|
| 613 | */ |
|
| 614 | function data_test_get_column_charset() |
|
| 615 | { |
|
| 616 | $table_name = 'test_get_column_charset'; |
|
| 617 | ||
| 618 | $vars = array(); |
|
| 619 | foreach( $this->table_and_column_defs as $i => $value ) { |
|
| 620 | $this_table_name = $table_name . '_' . $i; |
|
| 621 | $drop = "DROP TABLE IF EXISTS $this_table_name"; |
|
| 622 | $create = "CREATE TABLE $this_table_name {$value['definition']}"; |
|
| 623 | $vars[] = array( $drop, $create, $this_table_name, $value['column_expected'] ); |
|
| 624 | } |
|
| 625 | ||
| 626 | return $vars; |
|
| 627 | } |
|
| 628 | ||
| 629 | /** |
|