1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#include "stdafx.h"
//#include "grt_manager.h"
#include "grt/grt_dispatcher.h"
#include "mysql_routine_editor.h"
#include "grtsqlparser/sql_facade.h"
MySQLRoutineEditorBE::MySQLRoutineEditorBE(bec::GRTManager *grtm, const db_mysql_RoutineRef &routine, const db_mgmt_RdbmsRef &rdbms)
: RoutineEditorBE(grtm, routine, rdbms)
{
}
std::string MySQLRoutineEditorBE::get_sql_definition_header()
{
return "-- --------------------------------------------------------------------------------\n"
"-- Routine DDL\n"
"-- Note: comments before and after the routine body will not be stored by the server\n"
"-- --------------------------------------------------------------------------------\n"
"DELIMITER " + _non_std_sql_delimiter + "\n\n";
}
|