Skip to content

Create or replace view query not working issue solved #198

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 9, 2018

Conversation

aswaniprakash
Copy link
Contributor

@aswaniprakash aswaniprakash commented Jul 3, 2018

The following query was not working. It showed error at the '=' token in 'ALGORITHM=UNDEFINED'.

CREATE OR REPLACE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_today`  AS  select curdate() AS `today` ;

The issue was that the parser was expecting a value for 'OR REPLACE'.

Signed-off-by: Aswani Prakash [email protected]

@codecov
Copy link

codecov bot commented Jul 3, 2018

Codecov Report

Merging #198 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #198   +/-   ##
=========================================
  Coverage     99.75%   99.75%           
  Complexity     1751     1751           
=========================================
  Files            57       57           
  Lines          4126     4126           
=========================================
  Hits           4116     4116           
  Misses           10       10

@stale
Copy link

stale bot commented Sep 1, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Sep 1, 2018
@stale stale bot closed this Sep 8, 2018
@MauricioFauth MauricioFauth reopened this Sep 10, 2018
@stale stale bot removed the wontfix label Sep 10, 2018
@MauricioFauth MauricioFauth merged commit cf8049c into phpmyadmin:master Oct 9, 2018
@MauricioFauth MauricioFauth self-assigned this Oct 9, 2018
@MauricioFauth
Copy link
Member

Merged, thanks for your contribution!

MauricioFauth added a commit that referenced this pull request Oct 9, 2018
Signed-off-by: Maurício Meneghini Fauth <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants