Explorar o código

sorry forgot the definition of the new DB_NE operator

Nils Ohlmeier %!s(int64=17) %!d(string=hai) anos
pai
achega
e7d93bb6e1
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      db/db_fld.h

+ 2 - 1
db/db_fld.h

@@ -58,9 +58,10 @@ extern char* db_fld_str[];
 
 
 enum db_fld_op {
 enum db_fld_op {
 	DB_EQ = 0, /* The value of the field must be equal */
 	DB_EQ = 0, /* The value of the field must be equal */
+	DB_NE,     /* The value of the filed must be not equal */
 	DB_LT,     /* The value of the field must be less than */
 	DB_LT,     /* The value of the field must be less than */
 	DB_GT,     /* The value of the field must be greater than */
 	DB_GT,     /* The value of the field must be greater than */
-	DB_LEQ,    /* The value of the field must be let than or equal */
+	DB_LEQ,    /* The value of the field must be less than or equal */
 	DB_GEQ     /* The value of the field must be greater than or equal */
 	DB_GEQ     /* The value of the field must be greater than or equal */
 };
 };