Fix problems with overlong directory names: phase #1
[mono.git] / mcs / class / Npgsql / Npgsql / NpgsqlQuery.cs
old mode 100755 (executable)
new mode 100644 (file)
index e73110f..a8818ea
@@ -49,6 +49,11 @@ namespace Npgsql
 
 
             String commandText = _command.GetCommandText();
+            
+            // Tell to mediator what command is being sent.
+            
+            _command.Connector.Mediator.SqlSent = commandText;
+            
             // Send the query to server.
             // Write the byte 'Q' to identify a query message.
             outputStream.WriteByte((Byte)'Q');