Extended support for select UNIX_TIMESTAMP
Extended support for select UNIX_TIMESTAMP
This commit is contained in:
@ -644,7 +644,7 @@ PARSE_ERROR err;
|
|||||||
*/
|
*/
|
||||||
if (strncasecmp(sql, "select UNIX_TIMESTAMP",
|
if (strncasecmp(sql, "select UNIX_TIMESTAMP",
|
||||||
strlen("select UNIX_TIMESTAMP")) == 0
|
strlen("select UNIX_TIMESTAMP")) == 0
|
||||||
&& strstr(sql, "as starttime") != NULL)
|
&& (strstr(sql, "as starttime") != NULL || strstr(sql, "AS starttime") != NULL))
|
||||||
{
|
{
|
||||||
respond_starttime(session->dcb);
|
respond_starttime(session->dcb);
|
||||||
return 1;
|
return 1;
|
||||||
|
Reference in New Issue
Block a user