[tritonn-commit] [svn] [13] fixed logging for snippet native sql function

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2007年 9月 1日 (土) 00:51:32 JST


Revision: 13
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=tritonn&view=rev&rev=13
Author:   mir
Date:     2007-09-01 00:51:31 +0900 (Sat, 01 Sep 2007)

Log Message:
-----------
fixed logging for snippet native sql function
        - sql/item_strfunc.cc

Modified Paths:
--------------
    mysql-5.0.45-tritonn-1.0.5/sql/item_strfunc.cc

Modified: mysql-5.0.45-tritonn-1.0.5/sql/item_strfunc.cc
===================================================================
--- mysql-5.0.45-tritonn-1.0.5/sql/item_strfunc.cc	2007-08-31 13:55:07 UTC (rev 12)
+++ mysql-5.0.45-tritonn-1.0.5/sql/item_strfunc.cc	2007-08-31 15:51:31 UTC (rev 13)
@@ -3434,8 +3434,10 @@
   }
 
   for (i = 0; i < arg_count; i++) {
-    SEN_LOG(sen_log_warning, "snippet argument #%d is null", i+1);
-    if (args[i]->null_value) goto err_null;
+    if (args[i]->null_value) {
+      SEN_LOG(sen_log_warning, "snippet argument #%d is null", i+1);
+      goto err_null;
+    }
   }
 
   target        = args[0]->str_result(&target_tmp);




Tritonn-commit メーリングリストの案内
Back to archive index