Author: gburt
Date: Mon Jan 28 21:15:11 2008
New Revision: 3067
URL: http://svn.gnome.org/viewvc/banshee?rev=3067&view=rev
Log:
2008-01-28 Gabriel Burt <[EMAIL PROTECTED]>
* src/Core/Hyena/Hyena.Data.Sqlite/HyenaSqliteCommand.cs: Access each
char
of the command in place instead of assigning it to a variable, when
scanning it for ?'s.
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Hyena/Hyena.Data.Sqlite/HyenaSqliteCommand.cs
Modified: trunk/banshee/src/Core/Hyena/Hyena.Data.Sqlite/HyenaSqliteCommand.cs
==============================================================================
--- trunk/banshee/src/Core/Hyena/Hyena.Data.Sqlite/HyenaSqliteCommand.cs
(original)
+++ trunk/banshee/src/Core/Hyena/Hyena.Data.Sqlite/HyenaSqliteCommand.cs
Mon Jan 28 21:15:11 2008
@@ -59,8 +59,8 @@
this.command = new SqliteCommand (command);
int num_params = 0;
- foreach (char c in command) {
- if (c == '?') {
+ for (int i = 0; i < command.Length; i++) {
+ if (command [i] == '?') {
num_params++;
}
}
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list
Want to limit the commits to a few modules? Go to above URL, log in to edit
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development
mailing list. Email [EMAIL PROTECTED] if interested.