svn: /web/doc-editor/trunk/php/ AccountManager.php DBConnection.php DictionaryManager.php File.php LogManager.php RepositoryFetcher.php
RepositoryManager.php ToolsCheckDoc.php ToolsCheckEntities.php ToolsError.php TranslationStatistic.php TranslatorStatistic.php UserNotes.php

From: Date: Wed, 22 Jun 2011 20:00:24 +0000
Subject: svn: /web/doc-editor/trunk/php/ AccountManager.php DBConnection.php DictionaryManager.php File.php LogManager.php RepositoryFetcher.php
RepositoryManager.php ToolsCheckDoc.php ToolsCheckEntities.php ToolsError.php TranslationStatistic.php TranslatorStatistic.php UserNotes.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-2051@lists.php.net to get a copy of this message
nbpoole Wed, 22 Jun 2011 20:00:24 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=312387 Log: Major changes to how SQL is handled. The database query method will now perform sprintf-like replacements, but will escape parameters beforehand using real_escape_string. Developers should be very careful to write their SQL queries with this in mind: strings should be properly quoted and integers should be cast as such using %d. In other news, getInstance calls for the DB have been moved to the constructor for various classes and are stored in a private instance field called conn. Changed paths: U web/doc-editor/trunk/php/AccountManager.php U web/doc-editor/trunk/php/DBConnection.php U web/doc-editor/trunk/php/DictionaryManager.php U web/doc-editor/trunk/php/File.php U web/doc-editor/trunk/php/LogManager.php U web/doc-editor/trunk/php/RepositoryFetcher.php U web/doc-editor/trunk/php/RepositoryManager.php U web/doc-editor/trunk/php/ToolsCheckDoc.php U web/doc-editor/trunk/php/ToolsCheckEntities.php U web/doc-editor/trunk/php/ToolsError.php U web/doc-editor/trunk/php/TranslationStatistic.php U web/doc-editor/trunk/php/TranslatorStatistic.php U web/doc-editor/trunk/php/UserNotes.php

Attachment: [text/x-diff] svn-diffs-312387.txt
« previous php.doc.web (#2051) next »