Skip to content

Commit

Permalink
Moved legacy code away from c_tokenizer.cpp
Browse files Browse the repository at this point in the history
mysql_query_digest_and_first_comment() moved into c_tokenizer_legacy.cpp .
c_tokenizer_legacy.cpp is present but not compiled, here for reference only.
  • Loading branch information
renecannao committed Apr 22, 2024
1 parent 4cdb1ac commit eb7a0e3
Show file tree
Hide file tree
Showing 3 changed files with 588 additions and 591 deletions.
3 changes: 0 additions & 3 deletions include/c_tokenizer.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* c_tokenizer.h */
// some code borrowed from http://www.cplusplus.com/faq/sequences/strings/split/

#pragma once
#ifndef C_TOKENIZER_H
Expand Down Expand Up @@ -34,7 +32,6 @@ const char* free_tokenizer( tokenizer_t* tokenizer );
const char* tokenize( tokenizer_t* tokenizer );
char * mysql_query_digest_first_stage(const char* const q, int q_len, char** const fst_cmnt, char* const buf);
char * mysql_query_digest_second_stage(const char* const q, int q_len, char** const fst_cmnt, char* const buf);
char * mysql_query_digest_and_first_comment(char *s , int len , char **first_comment, char *buf);
char * mysql_query_digest_and_first_comment_2(const char* const q, int q_len, char** const fst_cmnt, char* const buf);
char * mysql_query_digest_and_first_comment_one_it(char *s , int len , char **first_comment, char *buf);
char * mysql_query_strip_comments(char *s , int len);
Expand Down
Loading

0 comments on commit eb7a0e3

Please sign in to comment.