forked from extern/egroupware
applied ilia's patch for binary columns (mysql returns varchar(#) binary)
This commit is contained in:
parent
49d4216305
commit
4c922ae28a
@ -222,7 +222,7 @@
|
|||||||
|
|
||||||
/* The rest of this is used only for SQL->array */
|
/* The rest of this is used only for SQL->array */
|
||||||
$colinfo = explode('(',$oProc->m_odb->f(1));
|
$colinfo = explode('(',$oProc->m_odb->f(1));
|
||||||
$prec = ereg_replace(')','',$colinfo[1]);
|
$prec = ereg_replace(').*','',$colinfo[1]);
|
||||||
$scales = explode(',',$prec);
|
$scales = explode(',',$prec);
|
||||||
|
|
||||||
if($colinfo[0] == 'enum')
|
if($colinfo[0] == 'enum')
|
||||||
|
Loading…
Reference in New Issue
Block a user