Update of /cvsroot/mxbb/core/includes/db In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv2341 Modified Files: mssql.php mssql_odbc.php mysql.php mysql4.php mysqli.php oracle.php postgres.php sqlite.php Log Message: updated... Index: mysqli.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/mysqli.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** mysqli.php 31 Oct 2008 18:53:49 -0000 1.21 --- mysqli.php 1 Nov 2008 11:34:54 -0000 1.22 *************** *** 290,297 **** --- 290,299 ---- } + /* Backported from Olympus, not compatible with MXP, yet if (!is_object($query_id) && isset($mx_cache->sql_rowset[$query_id])) { return $mx_cache->sql_rowseek($rownum, $query_id); } + */ return ($query_id) ? @mysqli_data_seek($query_id, $rownum) : false; *************** *** 318,325 **** --- 320,329 ---- } + /* Backported from Olympus, not compatible with MXP, yet if (!is_object($query_id) && isset($mx_cache->sql_rowset[$query_id])) { return $mx_cache->sql_freeresult($query_id); } + */ return @mysqli_free_result($query_id); Index: sqlite.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/sqlite.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** sqlite.php 31 Oct 2008 18:53:49 -0000 1.16 --- sqlite.php 1 Nov 2008 11:34:54 -0000 1.17 *************** *** 260,267 **** --- 260,269 ---- } + /* Backported from Olympus, not compatible with MXP, yet if (isset($mx_cache->sql_rowset[$query_id])) { return $mx_cache->sql_rowseek($rownum, $query_id); } + */ return ($query_id) ? @sqlite_seek($query_id, $rownum) : false; *************** *** 288,295 **** --- 290,299 ---- } + /* Backported from Olympus, not compatible with MXP, yet if (isset($mx_cache->sql_rowset[$query_id])) { return $mx_cache->sql_freeresult($query_id); } + */ return true; Index: postgres.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/postgres.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** postgres.php 31 Oct 2008 18:53:49 -0000 1.17 --- postgres.php 1 Nov 2008 11:34:54 -0000 1.18 *************** *** 330,337 **** --- 330,339 ---- } + /* Backported from Olympus, not compatible with MXP, yet if (isset($mx_cache->sql_rowset[$query_id])) { return $mx_cache->sql_rowseek($rownum, $query_id); } + */ return ($query_id) ? @pg_result_seek($query_id, $rownum) : false; *************** *** 378,385 **** --- 380,389 ---- } + /* Backported from Olympus, not compatible with MXP, yet if (isset($mx_cache->sql_rowset[$query_id])) { return $mx_cache->sql_freeresult($query_id); } + */ if (isset($this->open_queries[(int) $query_id])) Index: mysql4.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/mysql4.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** mysql4.php 31 Oct 2008 18:53:49 -0000 1.21 --- mysql4.php 1 Nov 2008 11:34:54 -0000 1.22 *************** *** 317,324 **** --- 317,326 ---- } + /* Backported from Olympus, not compatible with MXP, yet if (isset($mx_cache->sql_rowset[$query_id])) { return $mx_cache->sql_rowseek($rownum, $query_id); } + */ return ($query_id) ? @mysql_data_seek($query_id, $rownum) : false; *************** *** 345,352 **** --- 347,356 ---- } + /* Backported from Olympus, not compatible with MXP, yet if (isset($mx_cache->sql_rowset[$query_id])) { return $mx_cache->sql_freeresult($query_id); } + */ if (isset($this->open_queries[(int) $query_id])) Index: mssql.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/mssql.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** mssql.php 31 Oct 2008 18:53:49 -0000 1.18 --- mssql.php 1 Nov 2008 11:34:54 -0000 1.19 *************** *** 336,343 **** --- 336,345 ---- } + /* Backported from Olympus, not compatible with MXP, yet if (isset($mx_cache->sql_rowset[$query_id])) { return $mx_cache->sql_freeresult($query_id); } + */ if (isset($this->open_queries[$query_id])) Index: mysql.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/mysql.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** mysql.php 31 Oct 2008 18:53:49 -0000 1.23 --- mysql.php 1 Nov 2008 11:34:54 -0000 1.24 *************** *** 313,320 **** --- 313,322 ---- } + /* Backported from Olympus, not compatible with MXP, yet if (isset($mx_cache->sql_rowset[$query_id])) { return $mx_cache->sql_rowseek($rownum, $query_id); } + */ return ($query_id) ? @mysql_data_seek($query_id, $rownum) : false; *************** *** 341,348 **** --- 343,352 ---- } + /* Backported from Olympus, not compatible with MXP, yet if (isset($mx_cache->sql_rowset[$query_id])) { return $mx_cache->sql_freeresult($query_id); } + */ if (isset($this->open_queries[(int) $query_id])) Index: oracle.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/oracle.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** oracle.php 31 Oct 2008 18:53:49 -0000 1.16 --- oracle.php 1 Nov 2008 11:34:54 -0000 1.17 *************** *** 389,396 **** --- 389,398 ---- } + /* Backported from Olympus, not compatible with MXP, yet if (isset($mx_cache->sql_rowset[$query_id])) { return $mx_cache->sql_rowseek($rownum, $query_id); } + */ if (!$query_id) *************** *** 458,465 **** --- 460,469 ---- } + /* Backported from Olympus, not compatible with MXP, yet if (isset($mx_cache->sql_rowset[$query_id])) { return $mx_cache->sql_freeresult($query_id); } + */ if (isset($this->open_queries[(int) $query_id])) Index: mssql_odbc.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/mssql_odbc.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** mssql_odbc.php 31 Oct 2008 18:53:49 -0000 1.16 --- mssql_odbc.php 1 Nov 2008 11:34:54 -0000 1.17 *************** *** 298,305 **** --- 298,307 ---- } + /* Backported from Olympus, not compatible with MXP, yet if (isset($mx_cache->sql_rowset[$query_id])) { return $mx_cache->sql_rowseek($rownum, $query_id); } + */ if (!$query_id) *************** *** 361,368 **** --- 363,372 ---- } + /* Backported from Olympus, not compatible with MXP, yet if (isset($mx_cache->sql_rowset[$query_id])) { return $mx_cache->sql_freeresult($query_id); } + */ if (isset($this->open_queries[(int) $query_id])) |