Overview
Comment: | Correct a mistake in the OBJECTS virtual table, and allow the class name to be used with the CVALUE function. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
a3520272165de78b33aa9232541ddcc4 |
User & Date: | user on 2021-02-14 05:08:24 |
Other Links: | manifest | tags |
Context
2021-02-16
| ||
03:08 | Add XY function check-in: 1bcf59e130 user: user tags: trunk | |
2021-02-14
| ||
05:08 | Correct a mistake in the OBJECTS virtual table, and allow the class name to be used with the CVALUE function. check-in: a352027216 user: user tags: trunk | |
2021-02-13
| ||
04:46 | Add Misc/Dir editing check-in: 94aad6dd1b user: user tags: trunk | |
Changes
Modified function.c from [89bf3c9a8b] to [cd1065ef25].
︙ | |||
88 89 90 91 92 93 94 | 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | + + + + + + + - - + + + + | case 132: sqlite3_result_int(cxt,cl->cflags&CF_COMPATIBLE?1:0); break; } } static void fn_cvalue(sqlite3_context*cxt,int argc,sqlite3_value**argv) { int a; if(sqlite3_value_type(*argv)==SQLITE_NULL) return; if(sqlite3_value_type(*argv)==SQLITE_TEXT || sqlite3_value_type(*argv)==SQLITE_BLOB) { const char*s=sqlite3_value_text(*argv); for(a=1;a<0x4000;a++) { if(classes[a] && !(classes[a]->cflags&CF_NOCLASS2) && !strcmp(s,classes[a]->name)) goto found;; } return; } else { |
︙ | |||
877 878 879 880 881 882 883 | 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 | - + | if(sqlite3_value_type(argv[3])==SQLITE_NULL) return SQLITE_CONSTRAINT_NOTNULL; if(sqlite3_value_type(argv[7])==SQLITE_NULL) return SQLITE_CONSTRAINT_NOTNULL; if(sqlite3_value_type(argv[11])!=SQLITE_NULL) return SQLITE_CONSTRAINT_VTAB; if(sqlite3_value_type(argv[12])!=SQLITE_NULL) return SQLITE_CONSTRAINT_VTAB; x=sqlite3_value_int(argv[9]); y=sqlite3_value_int(argv[10]); if(x<1 || x>pfwidth || y<1 || y>pfheight) return SQLITE_CONSTRAINT_CHECK; |
︙ |
Modified sql.doc from [e12587dc57] to [b92214eca8].
︙ | |||
11 12 13 14 15 16 17 | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | - + + | The base name, which is a copy of the first command-line argument (not counting the switches or the program name). CLASS_DATA(id,info) Returns data about a class. CVALUE(number) |
︙ |