Ask a Question related to PHP Development, Design and Development.
-
mrobinso@php.net #1
#25179 [Fbk->Csd]: sqlite appending one extra char at end of each table name
ID: 25179
Updated by: [email]mrobinso@php.net[/email]
Reported By: [email]mrobinso@php.net[/email]
-Status: Feedback
+Status: Closed
Bug Type: SQLite related
Operating System: RH-8.0
PHP Version: 4.3.3RC4
New Comment:
Where's that damn crack pipe....
Previous Comments:
------------------------------------------------------------------------
[2003-08-20 11:40:31] [email]wez@php.net[/email]
Your script looks borked (are you using the correct quotes?).
Also, the is the last letter is missing from your name in your email
address? Are you sure you aren't suffering from some weird
brain<->finger packet loss problem? ;-)
------------------------------------------------------------------------
[2003-08-20 11:01:39] [email]mrobinso@php.net[/email]
Description:
------------
The sqlite library is appending an extra character onto
the end of any specified table name. For example, if I
specify a table name of 'foo' for a query, sqlite looks for a table
named 'fooo'. It takes the last character of the table name supplied,
and appends an extra one of those chars onto the end of the table
name.
If I do a select and supply a table name of 'fo', sqlite will return
data from the table 'foo'.
Sqlite was installed with pear.
Reproduce code:
---------------
# The table 'foo' exists and has data in it.
# returns data.
if ($db = @sqlite_open('test.db', 0666, $sqliteerror)) {
$result = sqlite_query($db,'SELECT * from "fo');
var_dump(sqlite_fetch_array($result));
} else {
die ($sqliteerror);
}
# Changing the name to 'foo' returns a
# 'no such table' error
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=25179&edit=1[/url]
mrobinso@php.net Guest
-
#39533 [NEW]: ord() cast with (unsigned char), chr() with (signed char)
From: fred at cashette dot com Operating system: * PHP version: 5.2.0 PHP Bug Type: Feature/Change Request Bug description: ... -
#25179 [Opn->Fbk]: sqlite appending one extra char at end of each table name
ID: 25179 Updated by: wez@php.net Reported By: mrobinso@php.net -Status: Open +Status: Feedback Bug... -
#25179 [NEW]: sqlite appending one extra char at end of each table name
From: mrobinso@php.net Operating system: RH-8.0 PHP version: 4.3.3RC4 PHP Bug Type: SQLite related Bug description: sqlite... -
Dreamweaver MX adding 1 extra pixel to table
Hello, Why Dreamweaver MX adds an extra 1 pixel width to the table? I have a table that is 780 in width. Due to the way the web site was design... -
ImageReady extra 1 pixel table row
"Alex Batchinski" <bachynskyi@yahoo.com> wrote in message news:1de9b23d.-1@WebX.la2eafNXanI... this problem with 1 pixel height extra row of...



Reply With Quote

