Fix problems with overlong directory names: phase #1
[mono.git] / mcs / class / Npgsql / Npgsql / NpgsqlQuery.cs
index e73110f33dff42ce47bae19c7b4915608cdc9e1b..a8818ea89b0c7a90f3b67139031b8406d6760d1d 100644 (file)
@@ -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');