• unknown's avatar
    Fix bug #13622 Wrong view .frm created if some field's alias contain \n · 56f43d9d
    unknown authored
    View .frm parser assumes that query string will take only 1 line, with \n in
    aliases query stringmay take several lines thus produces bad .frm file.
    
    'query' parameter type changed from 'string' to 'escaped string'
    
    
    sql/sql_view.cc:
      Fix bug #13622 \n in column alias results in broken .frm
      'query' parameter type changed to 'escaped string'
    mysql-test/r/view.result:
      Test case for bug #13622 Wrong view .frm created if some field's alias contain \n
    mysql-test/t/view.test:
      Test case for bug #13622 Wrong view .frm created if some field's alias contain \n
    56f43d9d
sql_view.cc 45.5 KB