[gom] gom: Fix sql_type_for_column() return value
- From: Bastien Nocera <hadess src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gom] gom: Fix sql_type_for_column() return value
 
- Date: Thu, 17 Apr 2014 07:24:45 +0000 (UTC)
 
commit 67e3689649dc7a6b22163ee7c53d9eb88e4bf490
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Apr 16 12:03:58 2014 +0200
    gom: Fix sql_type_for_column() return value
    
    Should return NULL not FALSE.
 gom/gom-command-builder.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gom/gom-command-builder.c b/gom/gom-command-builder.c
index 8090b8d..041a6a1 100644
--- a/gom/gom-command-builder.c
+++ b/gom/gom-command-builder.c
@@ -67,7 +67,7 @@ sql_type_for_column (GParamSpec *pspec)
    case G_TYPE_DOUBLE:
       return "FLOAT";
    default:
-      return FALSE;
+      return NULL;
    }
 }
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]