[PATCH 3/5] Addition of a SQLite script for a text file import

From: Markus Elfring
Date: Wed Mar 05 2014 - 12:58:30 EST


A script was added so that a text file which was previously generated can be
imported into a SQLite data base table.
http://sqlite.org/sqlite.html

The shown file name can be adjusted by a make file for example.

Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
---
.../coccinelle/deletions/handle_function_list_template.sqlite | 9 +++++++++
1 file changed, 9 insertions(+)
create mode 100644
scripts/coccinelle/deletions/handle_function_list_template.sqlite

diff --git a/scripts/coccinelle/deletions/handle_function_list_template.sqlite
b/scripts/coccinelle/deletions/handle_function_list_template.sqlite
new file mode 100644
index 0000000..bec366c
--- /dev/null
+++ b/scripts/coccinelle/deletions/handle_function_list_template.sqlite
@@ -0,0 +1,9 @@
+create table positions(function text,
+ data_type text,
+ parameter text,
+ source_file text,
+ line integer,
+ column integer);
+.separator "|"
+.import list_input_pointer_validation1.txt positions
+.header OFF
--
1.9.0



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/