Sunday, 2010-02-07

../irclogs/#mantishelp.2010-02-07.log
--- scribe started ---00:00
CIA-24Mantisbt: hickseydr master-1.2.x * rb65591fd61a3 /core/bug_api.php: Fix #11449: Fix incorrect table name in db_get_table call12:02
CIA-24Mantisbt: hickseydr * r83b89fcdec87 /core/bug_api.php: Issue #11375: Narrow down SQL SELECT to get minimum columns12:02
CIA-24Mantisbt: hickseydr master-1.2.x * r185b4b26e981 /core/bug_api.php: Issue #11375: Narrow down SQL SELECT to get minimum columns12:02
paul__moo12:03
dhx_mpaul__: moo12:03
paul__1 of those only applies to master branch?12:04
dhx_m#11449 was because of a bad backport from 1.3.x to 1.2.x12:04
dhx_mdb_get_table is different between versions12:04
paul__ya12:05
paul__dhx_m: do you have xdebug set up?12:09
dhx_mpaul__: yep12:24
paul__edo you use mysqli?12:25
paul__i've got a local patch12:25
paul__to db_fetch_array12:25
paul__-if( $g_db_type == 'mysql' || $g_db_type == 'odbc_mssql' ) {12:25
paul__+if( $g_db_type == 'mysql' || $g_db_type == 'mysqli' || $g_db_type == 'odbc_mssql' ) {12:25
dhx_mI just use normal MySQL12:25
dhx_moh I see, it's an interface12:26
dhx_min which case, I don't know :p12:26
dhx_mI normally use PostgreSQL12:26
paul__dhx_m: oh didn't realise13:55
paul__wonder if nuclear_eclipse is mysql expert then13:55
nuclear_eclipseyes paul__, mysql is the one I use :P14:05
paul__mysqli ?14:19
paul__or more14:19
paul__shouldn't you be using mysqli over mysql?14:19
paul__http://ca3.php.net/manual/en/mysqli.overview.php14:22
nuclear_eclipsemysqli suppprts fancy things like transactions, but for the purpose of wht mantis uses, there isnt much of a difference at all that i know of, other than using a diferrejt extension/api on the backend16:08
nuclear_eclipsei dont think there isanything significantly faster r "better" with mysqli. it just supports new features from mysql 5.0+16:10
paul__nuclear_eclipse: should we changing the default to mysqli i wonder?17:29
paul__but more to the point, need to validate that:17:30
paul__# mysql obeys FETCH_MODE_BOTH, hence ->fields works, other drivers do not support this17:30
paul__-if( $g_db_type == 'mysql' || $g_db_type == 'odbc_mssql' ) {17:30
paul__+if( $g_db_type == 'mysql' || $g_db_type == 'mysqli' || $g_db_type == 'odbc_mssql' ) {17:30
paul__in db_fetch_array is correct+valid17:30
nuclear_eclipseyes, I think we should default to mysqli now17:44
nuclear_eclipsetechnically, we could probably drop mysql by itself anyways, since we require php5+ now17:45
nuclear_eclipseany php5 install (I think) should have mysqli by definition if mysql support is compiled in17:46

Generated by irclog2html.py