Commit 86d64ff
committed
Fix text_normalize SQL bug: resolve duplicate WHERE clause issue
🐛 CRITICAL BUG FIX:
- Fixed duplicate WHERE clause in text_normalize function
- Query was generating: FROM table WHERE condition WHERE column IS NOT NULL
- Now properly combines WHERE conditions with AND operator
- Improved rowid handling for better table compatibility
- Changed UPDATE strategy to use content matching for safety
✅ TESTING CONFIRMED:
- text_normalize now works correctly with where_clause parameter
- All 8 text processing tools fully functional
- Server stable with 67 total tools
SQLite MCP Server v2.2.0 text processing implementation is now bug-free!1 parent 1a9183d commit 86d64ff
1 file changed
+16
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
999 | 999 | | |
1000 | 1000 | | |
1001 | 1001 | | |
1002 | | - | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
1003 | 1007 | | |
1004 | 1008 | | |
1005 | 1009 | | |
1006 | 1010 | | |
1007 | | - | |
1008 | 1011 | | |
1009 | 1012 | | |
1010 | 1013 | | |
| |||
1014 | 1017 | | |
1015 | 1018 | | |
1016 | 1019 | | |
1017 | | - | |
| 1020 | + | |
1018 | 1021 | | |
1019 | 1022 | | |
1020 | 1023 | | |
| |||
1036 | 1039 | | |
1037 | 1040 | | |
1038 | 1041 | | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
1039 | 1048 | | |
1040 | | - | |
| 1049 | + | |
1041 | 1050 | | |
1042 | 1051 | | |
1043 | 1052 | | |
| |||
1060 | 1069 | | |
1061 | 1070 | | |
1062 | 1071 | | |
1063 | | - | |
| 1072 | + | |
1064 | 1073 | | |
1065 | 1074 | | |
1066 | 1075 | | |
1067 | 1076 | | |
1068 | | - | |
| 1077 | + | |
1069 | 1078 | | |
1070 | | - | |
| 1079 | + | |
1071 | 1080 | | |
1072 | 1081 | | |
1073 | 1082 | | |
| |||
0 commit comments