Bug #68771 [Opn]: Incorrect array

From: Date: Mon, 12 Jan 2015 15:24:26 +0000
Subject: Bug #68771 [Opn]: Incorrect array
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-189900@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68771&edit=1 ID: 68771 Updated by: danack@php.net Reported by: bugreports at internot dot info Summary: Incorrect array Status: Open Type: Bug Package: SQLite related Operating System: Linux Ubuntu 14.04 PHP Version: master-Git-2015-01-08 (Git) -Assigned To: +Assigned To: ab Block user comment: N Private report: N New Comment: This does look like a typo. Every other mutli-line entry in the file has spaces to avoid this. I've attempted to report it upstream.....and the bug report is awaiting moderator approval. ab I've assigned the bug to you as appear to be the person who touched the file last. Apologies in advance if that's not the correct thing to do. Previous Comments: ------------------------------------------------------------------------ [2015-01-08 13:53:48] bugreports at internot dot info Description: ------------ Hi, In /ext/sqlite3/libsqlite/sqlite3.c: 139815/* 13 */ "SELECT idx, start_block, leaves_end_block, end_block, root " 139816 "FROM %Q.'%q_segdir' WHERE level BETWEEN ? AND ?" 139817 "ORDER BY level DESC, idx ASC", The end of L139816 is missing a space, causing the arrya to become "[..] BETWEEN ? AND ?ORDER BY [..]" which is obviously incorrect and will cause an SQL error. Thanks, ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68771&edit=1

« previous php.bugs (#189900) next »