|
From: <fab...@us...> - 2009-04-18 03:42:55
|
Revision: 4188
http://nhibernate.svn.sourceforge.net/nhibernate/?rev=4188&view=rev
Author: fabiomaulo
Date: 2009-04-18 03:42:49 +0000 (Sat, 18 Apr 2009)
Log Message:
-----------
Sorry... test broken
Modified Paths:
--------------
trunk/nhibernate/src/NHibernate/AdoNet/AbstractBatcher.cs
trunk/nhibernate/src/NHibernate/Id/TableGenerator.cs
trunk/nhibernate/src/NHibernate.Test/SqlTest/Identity/MsSQL/MSSQLIdentityInsertWithStoredProcsTest.cs
Modified: trunk/nhibernate/src/NHibernate/AdoNet/AbstractBatcher.cs
===================================================================
--- trunk/nhibernate/src/NHibernate/AdoNet/AbstractBatcher.cs 2009-04-18 03:25:17 UTC (rev 4187)
+++ trunk/nhibernate/src/NHibernate/AdoNet/AbstractBatcher.cs 2009-04-18 03:42:49 UTC (rev 4188)
@@ -420,10 +420,7 @@
protected void LogCommand(IDbCommand command)
{
- if (!string.IsNullOrEmpty(command.CommandText))
- {
- factory.Settings.SqlStatementLogger.LogCommand(command, FormatStyle.Basic);
- }
+ factory.Settings.SqlStatementLogger.LogCommand(command, FormatStyle.Basic);
}
private void LogOpenPreparedCommand()
Modified: trunk/nhibernate/src/NHibernate/Id/TableGenerator.cs
===================================================================
--- trunk/nhibernate/src/NHibernate/Id/TableGenerator.cs 2009-04-18 03:25:17 UTC (rev 4187)
+++ trunk/nhibernate/src/NHibernate/Id/TableGenerator.cs 2009-04-18 03:42:49 UTC (rev 4188)
@@ -197,8 +197,7 @@
qps.CommandText = query;
qps.CommandType = CommandType.Text;
qps.Transaction = trans;
- log.Debug(string.Format("Reading high value:"));
- PersistentIdGeneratorParmsNames.SqlStatementLogger.LogCommand(qps, FormatStyle.Basic);
+ PersistentIdGeneratorParmsNames.SqlStatementLogger.LogCommand("Reading high value:", qps, FormatStyle.Basic);
try
{
rs = qps.ExecuteReader();
@@ -226,8 +225,7 @@
session.Factory.ConnectionProvider.Driver.GenerateCommand(CommandType.Text, updateSql, parameterTypes);
ups.Connection = conn;
ups.Transaction = trans;
- log.Debug(string.Format("Updating high value:"));
- PersistentIdGeneratorParmsNames.SqlStatementLogger.LogCommand(ups, FormatStyle.Basic);
+ PersistentIdGeneratorParmsNames.SqlStatementLogger.LogCommand("Updating high value:", ups, FormatStyle.Basic);
try
{
Modified: trunk/nhibernate/src/NHibernate.Test/SqlTest/Identity/MsSQL/MSSQLIdentityInsertWithStoredProcsTest.cs
===================================================================
--- trunk/nhibernate/src/NHibernate.Test/SqlTest/Identity/MsSQL/MSSQLIdentityInsertWithStoredProcsTest.cs 2009-04-18 03:25:17 UTC (rev 4187)
+++ trunk/nhibernate/src/NHibernate.Test/SqlTest/Identity/MsSQL/MSSQLIdentityInsertWithStoredProcsTest.cs 2009-04-18 03:42:49 UTC (rev 4188)
@@ -14,7 +14,7 @@
protected override string GetExpectedInsertOrgLogStatement(string orgName)
{
- return string.Format("exec nh_organization_native_id_insert @p0; @p0 = '{0}'", orgName);
+ return string.Format("exec nh_organization_native_id_insert @p0;@p0 = '{0}'", orgName);
}
protected override IList Mappings
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|