https://bugzilla.wikimedia.org/show_bug.cgi?id=37020
Web browser: --- Bug #: 37020 Summary: sql.php with readline eats semicolon Product: MediaWiki Version: 1.20-git Platform: All OS/Version: All Status: NEW Severity: normal Priority: Unprioritized Component: Maintenance scripts AssignedTo: wikibugs-l@lists.wikimedia.org ReportedBy: has...@free.fr CC: innocentkil...@gmail.com Classification: Unclassified Mobile Platform: --- When running sql.php interactively and repealing a previous statement, the history line is missing the trailing semicolon (at least when using sqlite as a backend). how to reproduce: Launch script: php sql.php Write a command and execute it by pressing enter SELECT * FROM job; Script outputs: Query OK, 0 row(s) affected > Press key up to repeal previous command. Script output should look as: > SELECT * FROM job; Query OK, 0 row(s) affected > SELECT * FROM job The last line is the repealed one which is missing the semicolon. ~/.mwsql_history gives me: select\040*\040from\040job select\040*\040from\040jobselect\040*\040from\040job SELECT\040*\040FROM\040job Indeed missing the semicolon. Cause might be commit ebf916f3fb528bba0fcb5626701815a1810463de for bug 27207 -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l