Skip to content

Commit

Permalink
Mysql NOW function precision support
Browse files Browse the repository at this point in the history
  • Loading branch information
lukestephenson-zendesk committed Jun 8, 2020
1 parent 8fc3119 commit 2a24480
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/antlr4/imports/column_definitions.g4
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ length: '(' INTEGER_LITERAL ')';
int_flags: ( SIGNED | UNSIGNED | ZEROFILL );
decimal_length: '(' INTEGER_LITERAL ( ',' INTEGER_LITERAL )? ')';

now_function: NOW '(' ')';
now_function: NOW now_function_length;
now_function_length: length | '(' ')';
current_timestamp_length: length | '(' ')';
localtime_function: (LOCALTIME | LOCALTIMESTAMP) ('(' ')')?;

0 comments on commit 2a24480

Please sign in to comment.