Browse Source

lib/srdb1: Changed OP_NEQ to use ANSI standard <>

- OP_NEQ was "!=" which works with many, but not all, SQL databases.
- One database this doesn't work with is PostgreSQL.
- <> is the standard and all databases should support it.
Peter Dunkley 13 years ago
parent
commit
79e59ec116
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/srdb1/db_op.h

+ 1 - 1
lib/srdb1/db_op.h

@@ -41,7 +41,7 @@
 /** operator greater than equal */
 #define OP_GEQ ">="
 /** operator negation */
-#define OP_NEQ "!="
+#define OP_NEQ "<>"
 /** bitwise AND */
 #define OP_BITWISE_AND "&"