Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.191.169.138
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
perl-DBD-MySQL-4.023 /
eg /
Delete
Unzip
Name
Size
Permission
Date
Action
bug14979.pl
789
B
-rw-r--r--
2012-08-28 01:30
bug21028.pl
2.19
KB
-rw-r--r--
2012-08-28 01:30
bug30033.pl
868
B
-rw-r--r--
2012-08-28 01:30
bug30033pg.pl
456
B
-rw-r--r--
2012-08-28 01:30
decimal_test.pl
839
B
-rw-r--r--
2012-08-28 01:30
issue21946.pl
848
B
-rw-r--r--
2012-08-28 01:30
prepare_memory_usage.pl
450
B
-rw-r--r--
2012-08-28 01:30
proc_example1.pl
1.03
KB
-rw-r--r--
2012-08-28 01:30
proc_example2.pl
1.38
KB
-rw-r--r--
2012-08-28 01:30
proc_example2a.pl
1.29
KB
-rw-r--r--
2012-08-28 01:30
proc_example2b.pl
1.27
KB
-rw-r--r--
2012-08-28 01:30
proc_example3.pl
901
B
-rw-r--r--
2012-08-28 01:30
proc_example4.pl
1.36
KB
-rw-r--r--
2012-08-28 01:30
Save
Rename
#!/usr/bin/perl use strict; use warnings; use DBI; use Test::More; use Data::Dumper; use English qw( -no_match_vars ); our $VERSION = 0.01; my $CONF = $ENV{MYCONF} || "$ENV{HOME}/.my.cnf"; my $emulate = 0; my $dbh; eval { # # change the connection statements # to suit your purposes $dbh = DBI->connect("dbi:mysql:test", 'root', '', {RaiseError => 1, PrintError => 1} ) or die "can't connect : $DBI::errstr\n"; }; if ($EVAL_ERROR) { plan (skip_all => " -- no connection available $EVAL_ERROR"); } else { plan ( tests => 10 ); } print "\nEmulation of ps: $emulate, version: $DBD::mysql::VERSION\n"; print $dbh->{mysql_server_prepare},"\n"; my $drop_proc = qq{ drop procedure if exists test_multi_sets }; my $create_proc = qq{ create procedure test_multi_sets () deterministic begin select user() as first_col; select user() as first_col, now() as second_col; select user() as first_col, now() as second_col, now() as third_col; end }; eval { $dbh->do($drop_proc) }; ok( ! $EVAL_ERROR, 'drop procedure' ); eval { $dbh->do($create_proc) }; ok( ! $EVAL_ERROR , 'create procedure'); my $sth; print $dbh->{mysql_server_prepare},"\n"; eval { $sth = $dbh->prepare(qq{call test_multi_sets() }) } ; ok( $sth , 'preparing statement handler'); eval { $sth->execute() }; ok( ! $EVAL_ERROR, 'executing sth - 1st time ' ); diag $EVAL_ERROR if $EVAL_ERROR; my $dataset; eval { $dataset = $sth->fetchrow_arrayref(); } ; print Dumper($dataset),"\n"; ok( $dataset && @$dataset == 1 , 'fetching first dataset'); my $more_results; eval { $more_results = $sth->more_results() }; ok( $more_results, 'more results available (1st time) ' ) ; eval { $dataset = $sth->fetchrow_arrayref(); } ; print Dumper($dataset),"\n"; ok( $dataset && @$dataset == 2 , 'fetching second dataset'); eval { $more_results = $sth->more_results() }; ok( $more_results, 'more results available (2nd time) ' ) ; eval { $dataset = $sth->fetchrow_arrayref(); } ; print Dumper($dataset),"\n"; ok( $dataset && @$dataset == 3 , 'fetching third dataset'); eval { $more_results = $sth->more_results() }; ok( ! $more_results, 'no more results available' ) ;