SOURCES: sqlite3-sign-function.patch - up to 3.4.1

tommat tommat at pld-linux.org
Mon Jul 23 17:32:47 CEST 2007


Author: tommat                       Date: Mon Jul 23 15:32:47 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- up to 3.4.1

---- Files affected:
SOURCES:
   sqlite3-sign-function.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/sqlite3-sign-function.patch
diff -u SOURCES/sqlite3-sign-function.patch:1.1 SOURCES/sqlite3-sign-function.patch:1.2
--- SOURCES/sqlite3-sign-function.patch:1.1	Mon Oct 17 00:32:23 2005
+++ SOURCES/sqlite3-sign-function.patch	Mon Jul 23 17:32:41 2007
@@ -1,7 +1,7 @@
-diff -uNr sqlite-3.2.7.orig/src/func.c sqlite-3.2.7/src/func.c
---- sqlite-3.2.7.orig/src/func.c	2005-09-17 18:34:55.000000000 +0200
-+++ sqlite-3.2.7/src/func.c	2005-10-17 00:11:22.000000000 +0200
-@@ -139,6 +139,31 @@
+diff -uNr sqlite-3.4.1/src/func.c.orig sqlite-3.4.1/src/func.c
+--- sqlite-3.4.1/src/func.c.orig	2007-06-28 12:46:19.000000000 +0000
++++ sqlite-3.4.1/src/func.c	2007-07-23 11:39:52.000000000 +0000
+@@ -150,6 +150,31 @@
  }
  
  /*
@@ -30,14 +30,14 @@
 +}
 +
 +/*
- ** Implementation of the substr() function
- */
- static void substrFunc(
-@@ -963,6 +988,7 @@
-     { "substr",             3, 0, SQLITE_UTF16LE, 0, sqlite3utf16Substr },
- #endif
+ ** Implementation of the substr() function.
+ **
+ ** substr(x,p1,p2)  returns p2 characters of x[] beginning with p1.
+@@ -1315,6 +1340,7 @@
+     { "length",             1, 0, SQLITE_UTF8,    0, lengthFunc },
+     { "substr",             3, 0, SQLITE_UTF8,    0, substrFunc },
      { "abs",                1, 0, SQLITE_UTF8,    0, absFunc    },
-+	{ "sign",               1, 0, SQLITE_UTF8,    0, signFunc   },
++    { "sign",               1, 0, SQLITE_UTF8,    0, signFunc   },
      { "round",              1, 0, SQLITE_UTF8,    0, roundFunc  },
      { "round",              2, 0, SQLITE_UTF8,    0, roundFunc  },
      { "upper",              1, 0, SQLITE_UTF8,    0, upperFunc  },
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/sqlite3-sign-function.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list