MySQL R7 to R34
#1

Guys I'm getting this error:-
PHP код:
error 017undefined symbol "enable_mutex"
error 017undefined symbol "mysql_ping" 
I was converting MySQL R7 to MySQL R34. Kindly tell me how to get them fixed.
Reply
#2

mysql_ping is not supported for +R33
use a variable to store connectionHandle and make it default -1
Reply
#3

Here's the code for enable_mutex:-
PHP код:
    #if debug
        
mysql_debug(1);
    
#else
        
mysql_debug(0);
    
#endif
    
enable_mutex(false);
    
g_mysql_handle mysql_connect(MYSQL_HOST,MYSQL_USER,MYSQL_DATABASE,MYSQL_PASSWORD); 
Here's the code for mysql_ping:-
PHP код:
    if(g_mysql_handle)
        
mysql_close(g_mysql_handle);
    while(
mysql_ping(g_mysql_handle) == 1) {
        
#emit NOP
    

Kindly tell me what should I add or change.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)