mysql-test/suite/memcached/include/sdi_get_row.inc
raw| 1 | perl; |
| 2 | use strict; |
| 3 | use warnings; |
| 4 | use Cwd; |
| 5 | |
| 6 | my $srcdir = getcwd; |
| 7 | require "$srcdir/include/sdi_perl_func.pl"; |
| 8 | |
| 9 | my $memcached_table=$ENV{'MEMCACHED_TABLE_MAPPING'} or die; |
| 10 | my $sdi_id = $ENV{'SDI_ID'} or die; |
| 11 | my $sdi_type = $ENV{'SDI_TYPE'} or die; |
| 12 | |
| 13 | sdi_switch_table($memcached_table); |
| 14 | |
| 15 | sdi_get($sdi_type, $sdi_id); |
| 16 | sdi_disconnect(); |
| 17 | EOF |