Page 1 of 1

mysql known bugs

Posted: Thu May 30, 2013 10:05 am
by RusseL
I'm testing mysql functions of pol, i think there are some bugs inside, i'll try to post solutions here

Such construction would crash your server:

Code: Select all

program blablabla()
           // first open connection
           var db := SelectDB(connection, "pol");
endprogram

function SelectDB(connection, database)
         return mysql_select_db(connection, database);
endfunction
Solution:

Code: Select all

function SelectDB(byref connection, database)