Home > Archive > PHP Pear > May 2004 > DB_Dataobject bug?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
DB_Dataobject bug?
|
|
| Ian P. Christian 2004-05-26, 12:42 pm |
| =2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've just noticed that DB_Dataobject doenst' enclose field names in backtic=
ks,=20
so if you use field names with reserve names, it breaks!
Is there a configuration option I am unaware of to ask it to? If not, is t=
his=20
a bug, or is this how it's meant to be?
Kind Regards,
Ian P. Christian
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAtKjYEe6ncNCcEO0RAofBAJ4h/YD2BrlqR+yJDGiZE1yI5MYihgCfSNaK
3ZJeicDZ5xj+VgfigxvpnnI=3D
=3DiftS
=2D----END PGP SIGNATURE-----
| |
| Justin Patrin 2004-05-26, 1:46 pm |
| Ian P. Christian wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I've just noticed that DB_Dataobject doenst' enclose field names in backticks,
> so if you use field names with reserve names, it breaks!
>
> Is there a configuration option I am unaware of to ask it to? If not, is this
> a bug, or is this how it's meant to be?
>
> Kind Regards,
>
> Ian P. Christian
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
>
> iD8DBQFAtKjYEe6ncNCcEO0RAofBAJ4h/YD2BrlqR+yJDGiZE1yI5MYihgCfSNaK
> 3ZJeicDZ5xj+VgfigxvpnnI=
> =iftS
> -----END PGP SIGNATURE-----
It's not a bug, it's not done by default as some backends don't support
it. You can set the option quote_identifiers = 1 in your ini file to
make it quote them.
--
paperCrane <Justin Patrin>
|
|
|
|
|