KU_DB_mysql_driver Object ( [cache:protected] => Cache_memcache Object ( [_memcache:protected] => Memcache Object ( [connection] => Resource id #4 ) [_tables:protected] => Table_Define Object ( [_tables:Table_Define:private] => Array ( [ku_admin] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_admin [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_user] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_user [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [password] => _encrypt_password [last_login] => _login_time [last_update] => _updated_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [config] => _config_after [tag] => _tag_after [created_uid] => _deal_creator [created_time] => _created_time [subject_url] => _deal_subject_url ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_album] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_album [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_video] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_video [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time [game_id] => _check_game_id ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_advert] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_advert [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) ) ) [_prefix:protected] => ku_gametype_class [_options:protected] => Array ( [servers] => Array ( [0] => Array ( [host] => memcached-178-fs157 [port] => 11211 ) [1] => Array ( [host] => memcached-178-fs157 [port] => 11212 ) [2] => Array ( [host] => memcached-178-fs157 [port] => 11213 ) [3] => Array ( [host] => memcached-178-fs157 [port] => 11213 ) ) [compression] => ) ) [cache_enable:protected] => 1 [count_enable:protected] => 1 [expire:protected] => 900 [time_to_live:protected] => 0 [define] => Table_Define Object ( [_tables:Table_Define:private] => Array ( [ku_admin] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_admin [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_user] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_user [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [password] => _encrypt_password [last_login] => _login_time [last_update] => _updated_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [config] => _config_after [tag] => _tag_after [created_uid] => _deal_creator [created_time] => _created_time [subject_url] => _deal_subject_url ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_album] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_album [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_video] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_video [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time [game_id] => _check_game_id ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_advert] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_advert [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) ) ) [total_rows:protected] => [dbdriver] => mysql [_escape_char] => ` [_like_escape_str] => [_like_escape_chr] => [delete_hack] => 1 [_count_string] => SELECT COUNT(*) AS [_random_keyword] => RAND() [ar_select] => Array ( [0] => a.* ) [ar_distinct] => [ar_from] => Array ( [0] => `ku_advert` a ) [ar_join] => Array ( ) [ar_where] => Array ( [0] => `type` = '0' [1] => AND `status` = 'use' ) [ar_like] => Array ( ) [ar_groupby] => Array ( ) [ar_having] => Array ( ) [ar_keys] => Array ( ) [ar_limit] => 1 [ar_offset] => [ar_order] => [ar_orderby] => Array ( [0] => `modifyed_time` DESC ) [ar_set] => Array ( ) [ar_wherein] => Array ( ) [ar_aliased_tables] => Array ( [0] => a ) [ar_store_array] => Array ( ) [ar_caching] => [ar_cache_exists] => Array ( ) [ar_cache_select] => Array ( ) [ar_cache_from] => Array ( ) [ar_cache_join] => Array ( ) [ar_cache_where] => Array ( ) [ar_cache_like] => Array ( ) [ar_cache_groupby] => Array ( ) [ar_cache_having] => Array ( ) [ar_cache_orderby] => Array ( ) [ar_cache_set] => Array ( ) [username] => ku_user [password] => ku7I6^5r{y/u [hostname] => mysql-178-fs189:3326 [database] => ku_system [dbprefix] => ku_ [char_set] => utf8 [dbcollat] => utf8_general_ci [autoinit] => 1 [swap_pre] => [port] => [pconnect] => [conn_id] => Resource id #3 [result_id] => Resource id #11 [db_debug] => [benchmark] => 0.0010550022125244 [query_count] => 2 [bind_marker] => ? [save_queries] => 1 [queries] => Array ( [0] => select c.game_id from ku_gametype_class c left join ku_gametype_genre g on c.game_id=g.game_id left join ku_gametype_theme t on c.game_id=t.game_id left join ku_game kg on c.game_id=kg.id where c.class_id=9 and c.status=0 and c.is_delete=0 and g.genre_id=34 and g.status=0 and g.is_delete=0 and t.theme_id=22 and t.status=0 and t.is_delete=0 order by kg.score_too desc limit 20 [1] => select count(c.game_id) total from ku_gametype_class c left join ku_gametype_genre g on c.game_id=g.game_id left join ku_gametype_theme t on c.game_id=t.game_id left join ku_game kg on c.game_id=kg.id where c.class_id=9 and c.status=0 and c.is_delete=0 and g.genre_id=34 and g.status=0 and g.is_delete=0 and t.theme_id=22 and t.status=0 and t.is_delete=0 order by kg.score_too desc ) [query_times] => Array ( [0] => 0.00056099891662598 [1] => 0.00049400329589844 ) [data_cache] => Array ( ) [trans_enabled] => 1 [trans_strict] => 1 [_trans_depth] => 0 [_trans_status] => 1 [cache_on] => [cachedir] => [cache_autodel] => [CACHE] => [_protect_identifiers] => 1 [_reserved_identifiers] => Array ( [0] => * ) [stmt_id] => [curs_id] => [limit_used] => [stricton] => [prepared_sql:protected] => Array ( [sql] => select count(c.game_id) total from ku_gametype_class c left join ku_gametype_genre g on c.game_id=g.game_id left join ku_gametype_theme t on c.game_id=t.game_id left join ku_game kg on c.game_id=kg.id where c.class_id=9 and c.status=0 and c.is_delete=0 and g.genre_id=34 and g.status=0 and g.is_delete=0 and t.theme_id=22 and t.status=0 and t.is_delete=0 order by kg.score_too desc [matches] => Array ( [0] => select [columns] => count(c.game_id) total [from] => ku_gametype_class c [left join] => ku_gametype_genre g on c.game_id=g.game_id left join ku_gametype_theme t on c.game_id=t.game_id left join ku_game kg on c.game_id=kg.id [where] => c.class_id=9 and c.status=0 and c.is_delete=0 and g.genre_id=34 and g.status=0 and g.is_delete=0 and t.theme_id=22 and t.status=0 and t.is_delete=0 [group by] => [having] => [order by] => kg.score_too desc [limit] => [100] => ) [action] => select [table] => ku_gametype_class ) ) KU_DB_mysql_driver Object ( [cache:protected] => Cache_memcache Object ( [_memcache:protected] => Memcache Object ( [connection] => Resource id #4 ) [_tables:protected] => Table_Define Object ( [_tables:Table_Define:private] => Array ( [ku_admin] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_admin [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_user] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_user [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [password] => _encrypt_password [last_login] => _login_time [last_update] => _updated_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [config] => _config_after [tag] => _tag_after [created_uid] => _deal_creator [created_time] => _created_time [subject_url] => _deal_subject_url ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_album] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_album [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_video] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_video [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time [game_id] => _check_game_id ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_advert] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_advert [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_platform] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_platform [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_charge] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_charge [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_state] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_state [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) ) ) [_prefix:protected] => ku_advert [_options:protected] => Array ( [servers] => Array ( [0] => Array ( [host] => memcached-178-fs157 [port] => 11211 ) [1] => Array ( [host] => memcached-178-fs157 [port] => 11212 ) [2] => Array ( [host] => memcached-178-fs157 [port] => 11213 ) [3] => Array ( [host] => memcached-178-fs157 [port] => 11213 ) ) [compression] => ) ) [cache_enable:protected] => 1 [count_enable:protected] => [expire:protected] => 900 [time_to_live:protected] => 0 [define] => Table_Define Object ( [_tables:Table_Define:private] => Array ( [ku_admin] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_admin [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_user] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_user [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [password] => _encrypt_password [last_login] => _login_time [last_update] => _updated_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [config] => _config_after [tag] => _tag_after [created_uid] => _deal_creator [created_time] => _created_time [subject_url] => _deal_subject_url ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_album] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_album [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_video] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_video [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time [game_id] => _check_game_id ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_advert] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_advert [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_platform] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_platform [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_charge] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_charge [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_state] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_state [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) ) ) [total_rows:protected] => 2 [dbdriver] => mysql [_escape_char] => ` [_like_escape_str] => [_like_escape_chr] => [delete_hack] => 1 [_count_string] => SELECT COUNT(*) AS [_random_keyword] => RAND() [ar_select] => Array ( ) [ar_distinct] => [ar_from] => Array ( [0] => `ku_game_class` ) [ar_join] => Array ( ) [ar_where] => Array ( [0] => `is_delete` = 0 ) [ar_like] => Array ( ) [ar_groupby] => Array ( ) [ar_having] => Array ( ) [ar_keys] => Array ( ) [ar_limit] => 5000 [ar_offset] => [ar_order] => [ar_orderby] => Array ( [0] => `sequence` ) [ar_set] => Array ( ) [ar_wherein] => Array ( ) [ar_aliased_tables] => Array ( ) [ar_store_array] => Array ( ) [ar_caching] => [ar_cache_exists] => Array ( ) [ar_cache_select] => Array ( ) [ar_cache_from] => Array ( ) [ar_cache_join] => Array ( ) [ar_cache_where] => Array ( ) [ar_cache_like] => Array ( ) [ar_cache_groupby] => Array ( ) [ar_cache_having] => Array ( ) [ar_cache_orderby] => Array ( ) [ar_cache_set] => Array ( ) [username] => ku_user [password] => ku7I6^5r{y/u [hostname] => mysql-178-fs189:3326 [database] => ku_system [dbprefix] => ku_ [char_set] => utf8 [dbcollat] => utf8_general_ci [autoinit] => 1 [swap_pre] => [port] => [pconnect] => [conn_id] => Resource id #3 [result_id] => Resource id #11 [db_debug] => [benchmark] => 0.0010550022125244 [query_count] => 2 [bind_marker] => ? [save_queries] => 1 [queries] => Array ( [0] => select c.game_id from ku_gametype_class c left join ku_gametype_genre g on c.game_id=g.game_id left join ku_gametype_theme t on c.game_id=t.game_id left join ku_game kg on c.game_id=kg.id where c.class_id=9 and c.status=0 and c.is_delete=0 and g.genre_id=34 and g.status=0 and g.is_delete=0 and t.theme_id=22 and t.status=0 and t.is_delete=0 order by kg.score_too desc limit 20 [1] => select count(c.game_id) total from ku_gametype_class c left join ku_gametype_genre g on c.game_id=g.game_id left join ku_gametype_theme t on c.game_id=t.game_id left join ku_game kg on c.game_id=kg.id where c.class_id=9 and c.status=0 and c.is_delete=0 and g.genre_id=34 and g.status=0 and g.is_delete=0 and t.theme_id=22 and t.status=0 and t.is_delete=0 order by kg.score_too desc ) [query_times] => Array ( [0] => 0.00056099891662598 [1] => 0.00049400329589844 ) [data_cache] => Array ( ) [trans_enabled] => 1 [trans_strict] => 1 [_trans_depth] => 0 [_trans_status] => 1 [cache_on] => [cachedir] => [cache_autodel] => [CACHE] => [_protect_identifiers] => 1 [_reserved_identifiers] => Array ( [0] => * ) [stmt_id] => [curs_id] => [limit_used] => [stricton] => [prepared_sql:protected] => Array ( [sql] => SELECT `a`.* FROM (`ku_advert` a) WHERE `type` = '0' AND `status` = 'use' ORDER BY `modifyed_time` DESC LIMIT 1 [matches] => Array ( [0] => SELECT [columns] => `a`.* [from] => (`ku_advert` a) [left join] => [where] => `type` = '0' AND `status` = 'use' [group by] => [having] => [order by] => `modifyed_time` DESC [limit] => 1 [100] => ) [action] => select [count] => SELECT count(*) AS total FROM (`ku_advert` a) WHERE `type` = '0' AND `status` = 'use' [table] => ku_advert ) ) KU_DB_mysql_driver Object ( [cache:protected] => Cache_memcache Object ( [_memcache:protected] => Memcache Object ( [connection] => Resource id #4 ) [_tables:protected] => Table_Define Object ( [_tables:Table_Define:private] => Array ( [ku_admin] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_admin [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_user] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_user [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [password] => _encrypt_password [last_login] => _login_time [last_update] => _updated_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [config] => _config_after [tag] => _tag_after [created_uid] => _deal_creator [created_time] => _created_time [subject_url] => _deal_subject_url ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_album] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_album [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_video] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_video [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time [game_id] => _check_game_id ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_advert] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_advert [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_platform] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_platform [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_charge] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_charge [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_state] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_state [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) ) ) [_prefix:protected] => ku_game_class [_options:protected] => Array ( [servers] => Array ( [0] => Array ( [host] => memcached-178-fs157 [port] => 11211 ) [1] => Array ( [host] => memcached-178-fs157 [port] => 11212 ) [2] => Array ( [host] => memcached-178-fs157 [port] => 11213 ) [3] => Array ( [host] => memcached-178-fs157 [port] => 11213 ) ) [compression] => ) ) [cache_enable:protected] => 1 [count_enable:protected] => [expire:protected] => 900 [time_to_live:protected] => 0 [define] => Table_Define Object ( [_tables:Table_Define:private] => Array ( [ku_admin] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_admin [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_user] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_user [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [password] => _encrypt_password [last_login] => _login_time [last_update] => _updated_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [config] => _config_after [tag] => _tag_after [created_uid] => _deal_creator [created_time] => _created_time [subject_url] => _deal_subject_url ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_album] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_album [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_video] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_video [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time [game_id] => _check_game_id ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_advert] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_advert [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_platform] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_platform [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_charge] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_charge [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_state] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_state [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) ) ) [total_rows:protected] => 2 [dbdriver] => mysql [_escape_char] => ` [_like_escape_str] => [_like_escape_chr] => [delete_hack] => 1 [_count_string] => SELECT COUNT(*) AS [_random_keyword] => RAND() [ar_select] => Array ( ) [ar_distinct] => [ar_from] => Array ( [0] => `ku_game_genre` ) [ar_join] => Array ( ) [ar_where] => Array ( [0] => `is_delete` = 0 ) [ar_like] => Array ( ) [ar_groupby] => Array ( ) [ar_having] => Array ( ) [ar_keys] => Array ( ) [ar_limit] => 5000 [ar_offset] => [ar_order] => [ar_orderby] => Array ( [0] => `sequence` ) [ar_set] => Array ( ) [ar_wherein] => Array ( ) [ar_aliased_tables] => Array ( ) [ar_store_array] => Array ( ) [ar_caching] => [ar_cache_exists] => Array ( ) [ar_cache_select] => Array ( ) [ar_cache_from] => Array ( ) [ar_cache_join] => Array ( ) [ar_cache_where] => Array ( ) [ar_cache_like] => Array ( ) [ar_cache_groupby] => Array ( ) [ar_cache_having] => Array ( ) [ar_cache_orderby] => Array ( ) [ar_cache_set] => Array ( ) [username] => ku_user [password] => ku7I6^5r{y/u [hostname] => mysql-178-fs189:3326 [database] => ku_system [dbprefix] => ku_ [char_set] => utf8 [dbcollat] => utf8_general_ci [autoinit] => 1 [swap_pre] => [port] => [pconnect] => [conn_id] => Resource id #3 [result_id] => Resource id #11 [db_debug] => [benchmark] => 0.0010550022125244 [query_count] => 2 [bind_marker] => ? [save_queries] => 1 [queries] => Array ( [0] => select c.game_id from ku_gametype_class c left join ku_gametype_genre g on c.game_id=g.game_id left join ku_gametype_theme t on c.game_id=t.game_id left join ku_game kg on c.game_id=kg.id where c.class_id=9 and c.status=0 and c.is_delete=0 and g.genre_id=34 and g.status=0 and g.is_delete=0 and t.theme_id=22 and t.status=0 and t.is_delete=0 order by kg.score_too desc limit 20 [1] => select count(c.game_id) total from ku_gametype_class c left join ku_gametype_genre g on c.game_id=g.game_id left join ku_gametype_theme t on c.game_id=t.game_id left join ku_game kg on c.game_id=kg.id where c.class_id=9 and c.status=0 and c.is_delete=0 and g.genre_id=34 and g.status=0 and g.is_delete=0 and t.theme_id=22 and t.status=0 and t.is_delete=0 order by kg.score_too desc ) [query_times] => Array ( [0] => 0.00056099891662598 [1] => 0.00049400329589844 ) [data_cache] => Array ( ) [trans_enabled] => 1 [trans_strict] => 1 [_trans_depth] => 0 [_trans_status] => 1 [cache_on] => [cachedir] => [cache_autodel] => [CACHE] => [_protect_identifiers] => 1 [_reserved_identifiers] => Array ( [0] => * ) [stmt_id] => [curs_id] => [limit_used] => [stricton] => [prepared_sql:protected] => Array ( [sql] => SELECT * FROM (`ku_game_class`) WHERE `is_delete` = 0 ORDER BY `sequence` LIMIT 5000 [matches] => Array ( [0] => SELECT [columns] => * [from] => (`ku_game_class`) [left join] => [where] => `is_delete` = 0 [group by] => [having] => [order by] => `sequence` [limit] => 5000 [100] => ) [action] => select [table] => ku_game_class ) ) KU_DB_mysql_driver Object ( [cache:protected] => Cache_memcache Object ( [_memcache:protected] => Memcache Object ( [connection] => Resource id #4 ) [_tables:protected] => Table_Define Object ( [_tables:Table_Define:private] => Array ( [ku_admin] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_admin [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_user] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_user [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [password] => _encrypt_password [last_login] => _login_time [last_update] => _updated_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [config] => _config_after [tag] => _tag_after [created_uid] => _deal_creator [created_time] => _created_time [subject_url] => _deal_subject_url ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_album] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_album [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_video] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_video [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time [game_id] => _check_game_id ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_advert] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_advert [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_platform] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_platform [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_charge] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_charge [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_state] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_state [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) ) ) [_prefix:protected] => ku_game_genre [_options:protected] => Array ( [servers] => Array ( [0] => Array ( [host] => memcached-178-fs157 [port] => 11211 ) [1] => Array ( [host] => memcached-178-fs157 [port] => 11212 ) [2] => Array ( [host] => memcached-178-fs157 [port] => 11213 ) [3] => Array ( [host] => memcached-178-fs157 [port] => 11213 ) ) [compression] => ) ) [cache_enable:protected] => 1 [count_enable:protected] => [expire:protected] => 900 [time_to_live:protected] => 0 [define] => Table_Define Object ( [_tables:Table_Define:private] => Array ( [ku_admin] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_admin [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_user] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_user [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [password] => _encrypt_password [last_login] => _login_time [last_update] => _updated_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [config] => _config_after [tag] => _tag_after [created_uid] => _deal_creator [created_time] => _created_time [subject_url] => _deal_subject_url ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_album] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_album [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_video] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_video [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time [game_id] => _check_game_id ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_advert] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_advert [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_platform] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_platform [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_charge] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_charge [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_state] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_state [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) ) ) [total_rows:protected] => 2 [dbdriver] => mysql [_escape_char] => ` [_like_escape_str] => [_like_escape_chr] => [delete_hack] => 1 [_count_string] => SELECT COUNT(*) AS [_random_keyword] => RAND() [ar_select] => Array ( ) [ar_distinct] => [ar_from] => Array ( [0] => `ku_game_theme` ) [ar_join] => Array ( ) [ar_where] => Array ( [0] => `is_delete` = 0 ) [ar_like] => Array ( ) [ar_groupby] => Array ( ) [ar_having] => Array ( ) [ar_keys] => Array ( ) [ar_limit] => 5000 [ar_offset] => [ar_order] => [ar_orderby] => Array ( [0] => `sequence` ) [ar_set] => Array ( ) [ar_wherein] => Array ( ) [ar_aliased_tables] => Array ( ) [ar_store_array] => Array ( ) [ar_caching] => [ar_cache_exists] => Array ( ) [ar_cache_select] => Array ( ) [ar_cache_from] => Array ( ) [ar_cache_join] => Array ( ) [ar_cache_where] => Array ( ) [ar_cache_like] => Array ( ) [ar_cache_groupby] => Array ( ) [ar_cache_having] => Array ( ) [ar_cache_orderby] => Array ( ) [ar_cache_set] => Array ( ) [username] => ku_user [password] => ku7I6^5r{y/u [hostname] => mysql-178-fs189:3326 [database] => ku_system [dbprefix] => ku_ [char_set] => utf8 [dbcollat] => utf8_general_ci [autoinit] => 1 [swap_pre] => [port] => [pconnect] => [conn_id] => Resource id #3 [result_id] => Resource id #11 [db_debug] => [benchmark] => 0.0010550022125244 [query_count] => 2 [bind_marker] => ? [save_queries] => 1 [queries] => Array ( [0] => select c.game_id from ku_gametype_class c left join ku_gametype_genre g on c.game_id=g.game_id left join ku_gametype_theme t on c.game_id=t.game_id left join ku_game kg on c.game_id=kg.id where c.class_id=9 and c.status=0 and c.is_delete=0 and g.genre_id=34 and g.status=0 and g.is_delete=0 and t.theme_id=22 and t.status=0 and t.is_delete=0 order by kg.score_too desc limit 20 [1] => select count(c.game_id) total from ku_gametype_class c left join ku_gametype_genre g on c.game_id=g.game_id left join ku_gametype_theme t on c.game_id=t.game_id left join ku_game kg on c.game_id=kg.id where c.class_id=9 and c.status=0 and c.is_delete=0 and g.genre_id=34 and g.status=0 and g.is_delete=0 and t.theme_id=22 and t.status=0 and t.is_delete=0 order by kg.score_too desc ) [query_times] => Array ( [0] => 0.00056099891662598 [1] => 0.00049400329589844 ) [data_cache] => Array ( ) [trans_enabled] => 1 [trans_strict] => 1 [_trans_depth] => 0 [_trans_status] => 1 [cache_on] => [cachedir] => [cache_autodel] => [CACHE] => [_protect_identifiers] => 1 [_reserved_identifiers] => Array ( [0] => * ) [stmt_id] => [curs_id] => [limit_used] => [stricton] => [prepared_sql:protected] => Array ( [sql] => SELECT * FROM (`ku_game_genre`) WHERE `is_delete` = 0 ORDER BY `sequence` LIMIT 5000 [matches] => Array ( [0] => SELECT [columns] => * [from] => (`ku_game_genre`) [left join] => [where] => `is_delete` = 0 [group by] => [having] => [order by] => `sequence` [limit] => 5000 [100] => ) [action] => select [table] => ku_game_genre ) ) KU_DB_mysql_driver Object ( [cache:protected] => Cache_memcache Object ( [_memcache:protected] => Memcache Object ( [connection] => Resource id #4 ) [_tables:protected] => Table_Define Object ( [_tables:Table_Define:private] => Array ( [ku_admin] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_admin [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_user] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_user [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [password] => _encrypt_password [last_login] => _login_time [last_update] => _updated_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [config] => _config_after [tag] => _tag_after [created_uid] => _deal_creator [created_time] => _created_time [subject_url] => _deal_subject_url ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_album] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_album [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_video] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_video [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time [game_id] => _check_game_id ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_advert] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_advert [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_platform] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_platform [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_charge] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_charge [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_state] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_state [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) ) ) [_prefix:protected] => ku_game_theme [_options:protected] => Array ( [servers] => Array ( [0] => Array ( [host] => memcached-178-fs157 [port] => 11211 ) [1] => Array ( [host] => memcached-178-fs157 [port] => 11212 ) [2] => Array ( [host] => memcached-178-fs157 [port] => 11213 ) [3] => Array ( [host] => memcached-178-fs157 [port] => 11213 ) ) [compression] => ) ) [cache_enable:protected] => 1 [count_enable:protected] => [expire:protected] => 900 [time_to_live:protected] => 0 [define] => Table_Define Object ( [_tables:Table_Define:private] => Array ( [ku_admin] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_admin [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_user] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_user [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [password] => _encrypt_password [last_login] => _login_time [last_update] => _updated_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [config] => _config_after [tag] => _tag_after [created_uid] => _deal_creator [created_time] => _created_time [subject_url] => _deal_subject_url ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_album] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_album [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_video] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_video [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time [game_id] => _check_game_id ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_advert] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_advert [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_platform] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_platform [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_charge] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_charge [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_state] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_state [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) ) ) [total_rows:protected] => 2 [dbdriver] => mysql [_escape_char] => ` [_like_escape_str] => [_like_escape_chr] => [delete_hack] => 1 [_count_string] => SELECT COUNT(*) AS [_random_keyword] => RAND() [ar_select] => Array ( ) [ar_distinct] => [ar_from] => Array ( [0] => `ku_game_view` ) [ar_join] => Array ( ) [ar_where] => Array ( [0] => `is_delete` = 0 ) [ar_like] => Array ( ) [ar_groupby] => Array ( ) [ar_having] => Array ( ) [ar_keys] => Array ( ) [ar_limit] => 5000 [ar_offset] => [ar_order] => [ar_orderby] => Array ( [0] => `sequence` ) [ar_set] => Array ( ) [ar_wherein] => Array ( ) [ar_aliased_tables] => Array ( ) [ar_store_array] => Array ( ) [ar_caching] => [ar_cache_exists] => Array ( ) [ar_cache_select] => Array ( ) [ar_cache_from] => Array ( ) [ar_cache_join] => Array ( ) [ar_cache_where] => Array ( ) [ar_cache_like] => Array ( ) [ar_cache_groupby] => Array ( ) [ar_cache_having] => Array ( ) [ar_cache_orderby] => Array ( ) [ar_cache_set] => Array ( ) [username] => ku_user [password] => ku7I6^5r{y/u [hostname] => mysql-178-fs189:3326 [database] => ku_system [dbprefix] => ku_ [char_set] => utf8 [dbcollat] => utf8_general_ci [autoinit] => 1 [swap_pre] => [port] => [pconnect] => [conn_id] => Resource id #3 [result_id] => Resource id #11 [db_debug] => [benchmark] => 0.0010550022125244 [query_count] => 2 [bind_marker] => ? [save_queries] => 1 [queries] => Array ( [0] => select c.game_id from ku_gametype_class c left join ku_gametype_genre g on c.game_id=g.game_id left join ku_gametype_theme t on c.game_id=t.game_id left join ku_game kg on c.game_id=kg.id where c.class_id=9 and c.status=0 and c.is_delete=0 and g.genre_id=34 and g.status=0 and g.is_delete=0 and t.theme_id=22 and t.status=0 and t.is_delete=0 order by kg.score_too desc limit 20 [1] => select count(c.game_id) total from ku_gametype_class c left join ku_gametype_genre g on c.game_id=g.game_id left join ku_gametype_theme t on c.game_id=t.game_id left join ku_game kg on c.game_id=kg.id where c.class_id=9 and c.status=0 and c.is_delete=0 and g.genre_id=34 and g.status=0 and g.is_delete=0 and t.theme_id=22 and t.status=0 and t.is_delete=0 order by kg.score_too desc ) [query_times] => Array ( [0] => 0.00056099891662598 [1] => 0.00049400329589844 ) [data_cache] => Array ( ) [trans_enabled] => 1 [trans_strict] => 1 [_trans_depth] => 0 [_trans_status] => 1 [cache_on] => [cachedir] => [cache_autodel] => [CACHE] => [_protect_identifiers] => 1 [_reserved_identifiers] => Array ( [0] => * ) [stmt_id] => [curs_id] => [limit_used] => [stricton] => [prepared_sql:protected] => Array ( [sql] => SELECT * FROM (`ku_game_theme`) WHERE `is_delete` = 0 ORDER BY `sequence` LIMIT 5000 [matches] => Array ( [0] => SELECT [columns] => * [from] => (`ku_game_theme`) [left join] => [where] => `is_delete` = 0 [group by] => [having] => [order by] => `sequence` [limit] => 5000 [100] => ) [action] => select [table] => ku_game_theme ) ) KU_DB_mysql_driver Object ( [cache:protected] => Cache_memcache Object ( [_memcache:protected] => Memcache Object ( [connection] => Resource id #4 ) [_tables:protected] => Table_Define Object ( [_tables:Table_Define:private] => Array ( [ku_admin] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_admin [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_user] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_user [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [password] => _encrypt_password [last_login] => _login_time [last_update] => _updated_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [config] => _config_after [tag] => _tag_after [created_uid] => _deal_creator [created_time] => _created_time [subject_url] => _deal_subject_url ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_album] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_album [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_video] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_video [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time [game_id] => _check_game_id ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_advert] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_advert [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_platform] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_platform [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_charge] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_charge [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_state] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_state [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) ) ) [_prefix:protected] => ku_game_view [_options:protected] => Array ( [servers] => Array ( [0] => Array ( [host] => memcached-178-fs157 [port] => 11211 ) [1] => Array ( [host] => memcached-178-fs157 [port] => 11212 ) [2] => Array ( [host] => memcached-178-fs157 [port] => 11213 ) [3] => Array ( [host] => memcached-178-fs157 [port] => 11213 ) ) [compression] => ) ) [cache_enable:protected] => 1 [count_enable:protected] => [expire:protected] => 900 [time_to_live:protected] => 0 [define] => Table_Define Object ( [_tables:Table_Define:private] => Array ( [ku_admin] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_admin [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_user] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_user [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [password] => _encrypt_password [last_login] => _login_time [last_update] => _updated_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [config] => _config_after [tag] => _tag_after [created_uid] => _deal_creator [created_time] => _created_time [subject_url] => _deal_subject_url ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_album] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_album [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_video] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_video [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time [game_id] => _check_game_id ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_advert] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_advert [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_platform] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_platform [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_charge] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_charge [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_state] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_state [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) ) ) [total_rows:protected] => 2 [dbdriver] => mysql [_escape_char] => ` [_like_escape_str] => [_like_escape_chr] => [delete_hack] => 1 [_count_string] => SELECT COUNT(*) AS [_random_keyword] => RAND() [ar_select] => Array ( ) [ar_distinct] => [ar_from] => Array ( [0] => `ku_game_payment` ) [ar_join] => Array ( ) [ar_where] => Array ( [0] => `is_delete` = 0 ) [ar_like] => Array ( ) [ar_groupby] => Array ( ) [ar_having] => Array ( ) [ar_keys] => Array ( ) [ar_limit] => 5000 [ar_offset] => [ar_order] => [ar_orderby] => Array ( [0] => `sequence` ) [ar_set] => Array ( ) [ar_wherein] => Array ( ) [ar_aliased_tables] => Array ( ) [ar_store_array] => Array ( ) [ar_caching] => [ar_cache_exists] => Array ( ) [ar_cache_select] => Array ( ) [ar_cache_from] => Array ( ) [ar_cache_join] => Array ( ) [ar_cache_where] => Array ( ) [ar_cache_like] => Array ( ) [ar_cache_groupby] => Array ( ) [ar_cache_having] => Array ( ) [ar_cache_orderby] => Array ( ) [ar_cache_set] => Array ( ) [username] => ku_user [password] => ku7I6^5r{y/u [hostname] => mysql-178-fs189:3326 [database] => ku_system [dbprefix] => ku_ [char_set] => utf8 [dbcollat] => utf8_general_ci [autoinit] => 1 [swap_pre] => [port] => [pconnect] => [conn_id] => Resource id #3 [result_id] => Resource id #11 [db_debug] => [benchmark] => 0.0010550022125244 [query_count] => 2 [bind_marker] => ? [save_queries] => 1 [queries] => Array ( [0] => select c.game_id from ku_gametype_class c left join ku_gametype_genre g on c.game_id=g.game_id left join ku_gametype_theme t on c.game_id=t.game_id left join ku_game kg on c.game_id=kg.id where c.class_id=9 and c.status=0 and c.is_delete=0 and g.genre_id=34 and g.status=0 and g.is_delete=0 and t.theme_id=22 and t.status=0 and t.is_delete=0 order by kg.score_too desc limit 20 [1] => select count(c.game_id) total from ku_gametype_class c left join ku_gametype_genre g on c.game_id=g.game_id left join ku_gametype_theme t on c.game_id=t.game_id left join ku_game kg on c.game_id=kg.id where c.class_id=9 and c.status=0 and c.is_delete=0 and g.genre_id=34 and g.status=0 and g.is_delete=0 and t.theme_id=22 and t.status=0 and t.is_delete=0 order by kg.score_too desc ) [query_times] => Array ( [0] => 0.00056099891662598 [1] => 0.00049400329589844 ) [data_cache] => Array ( ) [trans_enabled] => 1 [trans_strict] => 1 [_trans_depth] => 0 [_trans_status] => 1 [cache_on] => [cachedir] => [cache_autodel] => [CACHE] => [_protect_identifiers] => 1 [_reserved_identifiers] => Array ( [0] => * ) [stmt_id] => [curs_id] => [limit_used] => [stricton] => [prepared_sql:protected] => Array ( [sql] => SELECT * FROM (`ku_game_view`) WHERE `is_delete` = 0 ORDER BY `sequence` LIMIT 5000 [matches] => Array ( [0] => SELECT [columns] => * [from] => (`ku_game_view`) [left join] => [where] => `is_delete` = 0 [group by] => [having] => [order by] => `sequence` [limit] => 5000 [100] => ) [action] => select [table] => ku_game_view ) ) KU_DB_mysql_driver Object ( [cache:protected] => Cache_memcache Object ( [_memcache:protected] => Memcache Object ( [connection] => Resource id #4 ) [_tables:protected] => Table_Define Object ( [_tables:Table_Define:private] => Array ( [ku_admin] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_admin [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_user] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_user [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [password] => _encrypt_password [last_login] => _login_time [last_update] => _updated_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [config] => _config_after [tag] => _tag_after [created_uid] => _deal_creator [created_time] => _created_time [subject_url] => _deal_subject_url ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_album] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_album [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_video] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_video [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time [game_id] => _check_game_id ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_advert] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_advert [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_platform] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_platform [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_charge] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_charge [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_state] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_state [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) ) ) [_prefix:protected] => ku_game_payment [_options:protected] => Array ( [servers] => Array ( [0] => Array ( [host] => memcached-178-fs157 [port] => 11211 ) [1] => Array ( [host] => memcached-178-fs157 [port] => 11212 ) [2] => Array ( [host] => memcached-178-fs157 [port] => 11213 ) [3] => Array ( [host] => memcached-178-fs157 [port] => 11213 ) ) [compression] => ) ) [cache_enable:protected] => 1 [count_enable:protected] => [expire:protected] => 900 [time_to_live:protected] => 0 [define] => Table_Define Object ( [_tables:Table_Define:private] => Array ( [ku_admin] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_admin [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_user] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_user [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [password] => _encrypt_password [last_login] => _login_time [last_update] => _updated_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [config] => _config_after [tag] => _tag_after [created_uid] => _deal_creator [created_time] => _created_time [subject_url] => _deal_subject_url ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_album] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_album [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_video] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_video [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time [game_id] => _check_game_id ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_advert] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_advert [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_platform] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_platform [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_charge] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_charge [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_state] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_state [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) ) ) [total_rows:protected] => 2 [dbdriver] => mysql [_escape_char] => ` [_like_escape_str] => [_like_escape_chr] => [delete_hack] => 1 [_count_string] => SELECT COUNT(*) AS [_random_keyword] => RAND() [ar_select] => Array ( ) [ar_distinct] => [ar_from] => Array ( [0] => `ku_region` ) [ar_join] => Array ( ) [ar_where] => Array ( [0] => `is_delete` = 0 ) [ar_like] => Array ( ) [ar_groupby] => Array ( ) [ar_having] => Array ( ) [ar_keys] => Array ( ) [ar_limit] => 5000 [ar_offset] => [ar_order] => [ar_orderby] => Array ( [0] => `sequence` ) [ar_set] => Array ( ) [ar_wherein] => Array ( ) [ar_aliased_tables] => Array ( ) [ar_store_array] => Array ( ) [ar_caching] => [ar_cache_exists] => Array ( ) [ar_cache_select] => Array ( ) [ar_cache_from] => Array ( ) [ar_cache_join] => Array ( ) [ar_cache_where] => Array ( ) [ar_cache_like] => Array ( ) [ar_cache_groupby] => Array ( ) [ar_cache_having] => Array ( ) [ar_cache_orderby] => Array ( ) [ar_cache_set] => Array ( ) [username] => ku_user [password] => ku7I6^5r{y/u [hostname] => mysql-178-fs189:3326 [database] => ku_system [dbprefix] => ku_ [char_set] => utf8 [dbcollat] => utf8_general_ci [autoinit] => 1 [swap_pre] => [port] => [pconnect] => [conn_id] => Resource id #3 [result_id] => Resource id #11 [db_debug] => [benchmark] => 0.0010550022125244 [query_count] => 2 [bind_marker] => ? [save_queries] => 1 [queries] => Array ( [0] => select c.game_id from ku_gametype_class c left join ku_gametype_genre g on c.game_id=g.game_id left join ku_gametype_theme t on c.game_id=t.game_id left join ku_game kg on c.game_id=kg.id where c.class_id=9 and c.status=0 and c.is_delete=0 and g.genre_id=34 and g.status=0 and g.is_delete=0 and t.theme_id=22 and t.status=0 and t.is_delete=0 order by kg.score_too desc limit 20 [1] => select count(c.game_id) total from ku_gametype_class c left join ku_gametype_genre g on c.game_id=g.game_id left join ku_gametype_theme t on c.game_id=t.game_id left join ku_game kg on c.game_id=kg.id where c.class_id=9 and c.status=0 and c.is_delete=0 and g.genre_id=34 and g.status=0 and g.is_delete=0 and t.theme_id=22 and t.status=0 and t.is_delete=0 order by kg.score_too desc ) [query_times] => Array ( [0] => 0.00056099891662598 [1] => 0.00049400329589844 ) [data_cache] => Array ( ) [trans_enabled] => 1 [trans_strict] => 1 [_trans_depth] => 0 [_trans_status] => 1 [cache_on] => [cachedir] => [cache_autodel] => [CACHE] => [_protect_identifiers] => 1 [_reserved_identifiers] => Array ( [0] => * ) [stmt_id] => [curs_id] => [limit_used] => [stricton] => [prepared_sql:protected] => Array ( [sql] => SELECT * FROM (`ku_game_payment`) WHERE `is_delete` = 0 ORDER BY `sequence` LIMIT 5000 [matches] => Array ( [0] => SELECT [columns] => * [from] => (`ku_game_payment`) [left join] => [where] => `is_delete` = 0 [group by] => [having] => [order by] => `sequence` [limit] => 5000 [100] => ) [action] => select [table] => ku_game_payment ) ) KU_DB_mysql_driver Object ( [cache:protected] => Cache_memcache Object ( [_memcache:protected] => Memcache Object ( [connection] => Resource id #4 ) [_tables:protected] => Table_Define Object ( [_tables:Table_Define:private] => Array ( [ku_admin] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_admin [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_user] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_user [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [password] => _encrypt_password [last_login] => _login_time [last_update] => _updated_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [config] => _config_after [tag] => _tag_after [created_uid] => _deal_creator [created_time] => _created_time [subject_url] => _deal_subject_url ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_album] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_album [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_video] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_video [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time [game_id] => _check_game_id ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_advert] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_advert [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_platform] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_platform [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_charge] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_charge [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_state] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_state [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) ) ) [_prefix:protected] => ku_region [_options:protected] => Array ( [servers] => Array ( [0] => Array ( [host] => memcached-178-fs157 [port] => 11211 ) [1] => Array ( [host] => memcached-178-fs157 [port] => 11212 ) [2] => Array ( [host] => memcached-178-fs157 [port] => 11213 ) [3] => Array ( [host] => memcached-178-fs157 [port] => 11213 ) ) [compression] => ) ) [cache_enable:protected] => 1 [count_enable:protected] => [expire:protected] => 900 [time_to_live:protected] => 0 [define] => Table_Define Object ( [_tables:Table_Define:private] => Array ( [ku_admin] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_admin [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_user] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_user [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [password] => _encrypt_password [last_login] => _login_time [last_update] => _updated_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [config] => _config_after [tag] => _tag_after [created_uid] => _deal_creator [created_time] => _created_time [subject_url] => _deal_subject_url ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_album] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_album [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_video] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_video [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time [game_id] => _check_game_id ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_advert] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_advert [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_platform] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_platform [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_charge] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_charge [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_state] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_state [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) ) ) [total_rows:protected] => 2 [dbdriver] => mysql [_escape_char] => ` [_like_escape_str] => [_like_escape_chr] => [delete_hack] => 1 [_count_string] => SELECT COUNT(*) AS [_random_keyword] => RAND() [ar_select] => Array ( ) [ar_distinct] => [ar_from] => Array ( [0] => `ku_game_state` ) [ar_join] => Array ( ) [ar_where] => Array ( [0] => `is_delete` = 0 ) [ar_like] => Array ( ) [ar_groupby] => Array ( ) [ar_having] => Array ( ) [ar_keys] => Array ( ) [ar_limit] => 5000 [ar_offset] => [ar_order] => [ar_orderby] => Array ( [0] => `sequence` ) [ar_set] => Array ( ) [ar_wherein] => Array ( ) [ar_aliased_tables] => Array ( ) [ar_store_array] => Array ( ) [ar_caching] => [ar_cache_exists] => Array ( ) [ar_cache_select] => Array ( ) [ar_cache_from] => Array ( ) [ar_cache_join] => Array ( ) [ar_cache_where] => Array ( ) [ar_cache_like] => Array ( ) [ar_cache_groupby] => Array ( ) [ar_cache_having] => Array ( ) [ar_cache_orderby] => Array ( ) [ar_cache_set] => Array ( ) [username] => ku_user [password] => ku7I6^5r{y/u [hostname] => mysql-178-fs189:3326 [database] => ku_system [dbprefix] => ku_ [char_set] => utf8 [dbcollat] => utf8_general_ci [autoinit] => 1 [swap_pre] => [port] => [pconnect] => [conn_id] => Resource id #3 [result_id] => Resource id #11 [db_debug] => [benchmark] => 0.0010550022125244 [query_count] => 2 [bind_marker] => ? [save_queries] => 1 [queries] => Array ( [0] => select c.game_id from ku_gametype_class c left join ku_gametype_genre g on c.game_id=g.game_id left join ku_gametype_theme t on c.game_id=t.game_id left join ku_game kg on c.game_id=kg.id where c.class_id=9 and c.status=0 and c.is_delete=0 and g.genre_id=34 and g.status=0 and g.is_delete=0 and t.theme_id=22 and t.status=0 and t.is_delete=0 order by kg.score_too desc limit 20 [1] => select count(c.game_id) total from ku_gametype_class c left join ku_gametype_genre g on c.game_id=g.game_id left join ku_gametype_theme t on c.game_id=t.game_id left join ku_game kg on c.game_id=kg.id where c.class_id=9 and c.status=0 and c.is_delete=0 and g.genre_id=34 and g.status=0 and g.is_delete=0 and t.theme_id=22 and t.status=0 and t.is_delete=0 order by kg.score_too desc ) [query_times] => Array ( [0] => 0.00056099891662598 [1] => 0.00049400329589844 ) [data_cache] => Array ( ) [trans_enabled] => 1 [trans_strict] => 1 [_trans_depth] => 0 [_trans_status] => 1 [cache_on] => [cachedir] => [cache_autodel] => [CACHE] => [_protect_identifiers] => 1 [_reserved_identifiers] => Array ( [0] => * ) [stmt_id] => [curs_id] => [limit_used] => [stricton] => [prepared_sql:protected] => Array ( [sql] => SELECT * FROM (`ku_region`) WHERE `is_delete` = 0 ORDER BY `sequence` LIMIT 5000 [matches] => Array ( [0] => SELECT [columns] => * [from] => (`ku_region`) [left join] => [where] => `is_delete` = 0 [group by] => [having] => [order by] => `sequence` [limit] => 5000 [100] => ) [action] => select [table] => ku_region ) ) KU_DB_mysql_driver Object ( [cache:protected] => Cache_memcache Object ( [_memcache:protected] => Memcache Object ( [connection] => Resource id #4 ) [_tables:protected] => Table_Define Object ( [_tables:Table_Define:private] => Array ( [ku_admin] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_admin [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_user] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_user [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [password] => _encrypt_password [last_login] => _login_time [last_update] => _updated_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [config] => _config_after [tag] => _tag_after [created_uid] => _deal_creator [created_time] => _created_time [subject_url] => _deal_subject_url ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_album] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_album [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_video] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_video [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time [game_id] => _check_game_id ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_advert] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_advert [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_platform] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_platform [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_charge] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_charge [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_state] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_state [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) ) ) [_prefix:protected] => ku_game_state [_options:protected] => Array ( [servers] => Array ( [0] => Array ( [host] => memcached-178-fs157 [port] => 11211 ) [1] => Array ( [host] => memcached-178-fs157 [port] => 11212 ) [2] => Array ( [host] => memcached-178-fs157 [port] => 11213 ) [3] => Array ( [host] => memcached-178-fs157 [port] => 11213 ) ) [compression] => ) ) [cache_enable:protected] => 1 [count_enable:protected] => [expire:protected] => 900 [time_to_live:protected] => 0 [define] => Table_Define Object ( [_tables:Table_Define:private] => Array ( [ku_admin] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_admin [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_user] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_user [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [password] => _encrypt_password [last_login] => _login_time [last_update] => _updated_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [config] => _config_after [tag] => _tag_after [created_uid] => _deal_creator [created_time] => _created_time [subject_url] => _deal_subject_url ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_album] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_album [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_video] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_video [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time [game_id] => _check_game_id ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_advert] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_advert [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_platform] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_platform [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_charge] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_charge [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_state] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_state [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) ) ) [total_rows:protected] => 2 [dbdriver] => mysql [_escape_char] => ` [_like_escape_str] => [_like_escape_chr] => [delete_hack] => 1 [_count_string] => SELECT COUNT(*) AS [_random_keyword] => RAND() [ar_select] => Array ( ) [ar_distinct] => [ar_from] => Array ( [0] => `ku_game_charge` ) [ar_join] => Array ( ) [ar_where] => Array ( [0] => `is_delete` = 0 ) [ar_like] => Array ( ) [ar_groupby] => Array ( ) [ar_having] => Array ( ) [ar_keys] => Array ( ) [ar_limit] => 5000 [ar_offset] => [ar_order] => [ar_orderby] => Array ( [0] => `sequence` ) [ar_set] => Array ( ) [ar_wherein] => Array ( ) [ar_aliased_tables] => Array ( ) [ar_store_array] => Array ( ) [ar_caching] => [ar_cache_exists] => Array ( ) [ar_cache_select] => Array ( ) [ar_cache_from] => Array ( ) [ar_cache_join] => Array ( ) [ar_cache_where] => Array ( ) [ar_cache_like] => Array ( ) [ar_cache_groupby] => Array ( ) [ar_cache_having] => Array ( ) [ar_cache_orderby] => Array ( ) [ar_cache_set] => Array ( ) [username] => ku_user [password] => ku7I6^5r{y/u [hostname] => mysql-178-fs189:3326 [database] => ku_system [dbprefix] => ku_ [char_set] => utf8 [dbcollat] => utf8_general_ci [autoinit] => 1 [swap_pre] => [port] => [pconnect] => [conn_id] => Resource id #3 [result_id] => Resource id #11 [db_debug] => [benchmark] => 0.0010550022125244 [query_count] => 2 [bind_marker] => ? [save_queries] => 1 [queries] => Array ( [0] => select c.game_id from ku_gametype_class c left join ku_gametype_genre g on c.game_id=g.game_id left join ku_gametype_theme t on c.game_id=t.game_id left join ku_game kg on c.game_id=kg.id where c.class_id=9 and c.status=0 and c.is_delete=0 and g.genre_id=34 and g.status=0 and g.is_delete=0 and t.theme_id=22 and t.status=0 and t.is_delete=0 order by kg.score_too desc limit 20 [1] => select count(c.game_id) total from ku_gametype_class c left join ku_gametype_genre g on c.game_id=g.game_id left join ku_gametype_theme t on c.game_id=t.game_id left join ku_game kg on c.game_id=kg.id where c.class_id=9 and c.status=0 and c.is_delete=0 and g.genre_id=34 and g.status=0 and g.is_delete=0 and t.theme_id=22 and t.status=0 and t.is_delete=0 order by kg.score_too desc ) [query_times] => Array ( [0] => 0.00056099891662598 [1] => 0.00049400329589844 ) [data_cache] => Array ( ) [trans_enabled] => 1 [trans_strict] => 1 [_trans_depth] => 0 [_trans_status] => 1 [cache_on] => [cachedir] => [cache_autodel] => [CACHE] => [_protect_identifiers] => 1 [_reserved_identifiers] => Array ( [0] => * ) [stmt_id] => [curs_id] => [limit_used] => [stricton] => [prepared_sql:protected] => Array ( [sql] => SELECT * FROM (`ku_game_state`) WHERE `is_delete` = 0 ORDER BY `sequence` LIMIT 5000 [matches] => Array ( [0] => SELECT [columns] => * [from] => (`ku_game_state`) [left join] => [where] => `is_delete` = 0 [group by] => [having] => [order by] => `sequence` [limit] => 5000 [100] => ) [action] => select [table] => ku_game_state ) ) KU_DB_mysql_driver Object ( [cache:protected] => Cache_memcache Object ( [_memcache:protected] => Memcache Object ( [connection] => Resource id #4 ) [_tables:protected] => Table_Define Object ( [_tables:Table_Define:private] => Array ( [ku_admin] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_admin [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_user] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_user [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [password] => _encrypt_password [last_login] => _login_time [last_update] => _updated_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [config] => _config_after [tag] => _tag_after [created_uid] => _deal_creator [created_time] => _created_time [subject_url] => _deal_subject_url ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_album] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_album [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_video] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_video [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time [game_id] => _check_game_id ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_advert] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_advert [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_platform] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_platform [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_charge] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_charge [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_state] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_state [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) ) ) [_prefix:protected] => ku_game_charge [_options:protected] => Array ( [servers] => Array ( [0] => Array ( [host] => memcached-178-fs157 [port] => 11211 ) [1] => Array ( [host] => memcached-178-fs157 [port] => 11212 ) [2] => Array ( [host] => memcached-178-fs157 [port] => 11213 ) [3] => Array ( [host] => memcached-178-fs157 [port] => 11213 ) ) [compression] => ) ) [cache_enable:protected] => 1 [count_enable:protected] => [expire:protected] => 900 [time_to_live:protected] => 0 [define] => Table_Define Object ( [_tables:Table_Define:private] => Array ( [ku_admin] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_admin [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_user] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_user [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [password] => _encrypt_password [last_login] => _login_time [last_update] => _updated_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [config] => _config_after [tag] => _tag_after [created_uid] => _deal_creator [created_time] => _created_time [subject_url] => _deal_subject_url ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_album] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_album [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_games_video] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_games_video [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( [created_uid] => _deal_creator [created_time] => _created_time [game_id] => _check_game_id ) [triggers] => Array ( [relation] => _deal_relation ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_advert] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_advert [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( [id] => _uid ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_platform] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_platform [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_charge] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_charge [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_game_state] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_game_state [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_class] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_class [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_genre] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_genre [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_payment] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_payment [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_region] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_region [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_theme] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_theme [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) [ku_gametype_view] => DB_Table Object ( [_structure:DB_Table:private] => Array ( [name] => ku_gametype_view [primary] => id [related] => Array ( [0] => ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) [_matches:DB_Table:private] => Array ( [name] => foo [primary] => id [related] => Array ( ) [fields] => Array ( ) [mutators] => Array ( ) [triggers] => Array ( ) ) ) ) ) [total_rows:protected] => 2 [dbdriver] => mysql [_escape_char] => ` [_like_escape_str] => [_like_escape_chr] => [delete_hack] => 1 [_count_string] => SELECT COUNT(*) AS [_random_keyword] => RAND() [ar_select] => Array ( ) [ar_distinct] => [ar_from] => Array ( [0] => `ku_game_platform` ) [ar_join] => Array ( ) [ar_where] => Array ( [0] => `is_delete` = 0 ) [ar_like] => Array ( ) [ar_groupby] => Array ( ) [ar_having] => Array ( ) [ar_keys] => Array ( ) [ar_limit] => 5000 [ar_offset] => [ar_order] => [ar_orderby] => Array ( [0] => `sequence` ) [ar_set] => Array ( ) [ar_wherein] => Array ( ) [ar_aliased_tables] => Array ( ) [ar_store_array] => Array ( ) [ar_caching] => [ar_cache_exists] => Array ( ) [ar_cache_select] => Array ( ) [ar_cache_from] => Array ( ) [ar_cache_join] => Array ( ) [ar_cache_where] => Array ( ) [ar_cache_like] => Array ( ) [ar_cache_groupby] => Array ( ) [ar_cache_having] => Array ( ) [ar_cache_orderby] => Array ( ) [ar_cache_set] => Array ( ) [username] => ku_user [password] => ku7I6^5r{y/u [hostname] => mysql-178-fs189:3326 [database] => ku_system [dbprefix] => ku_ [char_set] => utf8 [dbcollat] => utf8_general_ci [autoinit] => 1 [swap_pre] => [port] => [pconnect] => [conn_id] => Resource id #3 [result_id] => Resource id #11 [db_debug] => [benchmark] => 0.0010550022125244 [query_count] => 2 [bind_marker] => ? [save_queries] => 1 [queries] => Array ( [0] => select c.game_id from ku_gametype_class c left join ku_gametype_genre g on c.game_id=g.game_id left join ku_gametype_theme t on c.game_id=t.game_id left join ku_game kg on c.game_id=kg.id where c.class_id=9 and c.status=0 and c.is_delete=0 and g.genre_id=34 and g.status=0 and g.is_delete=0 and t.theme_id=22 and t.status=0 and t.is_delete=0 order by kg.score_too desc limit 20 [1] => select count(c.game_id) total from ku_gametype_class c left join ku_gametype_genre g on c.game_id=g.game_id left join ku_gametype_theme t on c.game_id=t.game_id left join ku_game kg on c.game_id=kg.id where c.class_id=9 and c.status=0 and c.is_delete=0 and g.genre_id=34 and g.status=0 and g.is_delete=0 and t.theme_id=22 and t.status=0 and t.is_delete=0 order by kg.score_too desc ) [query_times] => Array ( [0] => 0.00056099891662598 [1] => 0.00049400329589844 ) [data_cache] => Array ( ) [trans_enabled] => 1 [trans_strict] => 1 [_trans_depth] => 0 [_trans_status] => 1 [cache_on] => [cachedir] => [cache_autodel] => [CACHE] => [_protect_identifiers] => 1 [_reserved_identifiers] => Array ( [0] => * ) [stmt_id] => [curs_id] => [limit_used] => [stricton] => [prepared_sql:protected] => Array ( [sql] => SELECT * FROM (`ku_game_charge`) WHERE `is_delete` = 0 ORDER BY `sequence` LIMIT 5000 [matches] => Array ( [0] => SELECT [columns] => * [from] => (`ku_game_charge`) [left join] => [where] => `is_delete` = 0 [group by] => [having] => [order by] => `sequence` [limit] => 5000 [100] => ) [action] => select [table] => ku_game_charge ) ) 手机游戏_棋牌_养成_第1页_找游戏 - 178游戏库
178游戏库»找游戏