File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 146146function test_benchmark ($ settings )
147147{
148148 $ result = array ();
149- $ result ['version ' ] = '1.2 ' ;
149+ $ result ['version ' ] = '1.4 ' ;
150150 $ result ['sysinfo ' ]['time ' ] = date ('Y-m-d H:i:s ' );
151151 $ result ['sysinfo ' ]['php_version ' ] = PHP_VERSION ;
152152 $ result ['sysinfo ' ]['platform ' ] = PHP_OS ;
@@ -246,7 +246,7 @@ function test_mysql(&$result, $settings)
246246 $ result ['sysinfo ' ]['mysql_version ' ] = $ arr_row ['version ' ];
247247 $ result ['benchmark ' ]['mysql_query_version ' ] = timer_diff ($ timeStart ) . ' sec. ' ;
248248
249- $ query = "SELECT BENCHMARK(1000000,ENCODE ('hello',RAND( ))); " ;
249+ $ query = "SELECT BENCHMARK(1000000, AES_ENCRYPT ('hello', UNHEX('F3229A0B371ED2D9441B830D21A390C3' ))); " ;
250250 mysqli_query ($ link , $ query );
251251 $ result ['benchmark ' ]['mysql_query_benchmark ' ] = timer_diff ($ timeStart ) . ' sec. ' ;
252252
You can’t perform that action at this time.
0 commit comments