Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
64166ebf
Commit
64166ebf
authored
May 19, 2006
by
anozdrin@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. Fix compilation on Windows;
2. Fix trigger.test.
parent
b5517223
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
server-tools/instance-manager/log.cc
server-tools/instance-manager/log.cc
+2
-0
sql/sql_trigger.cc
sql/sql_trigger.cc
+2
-2
No files found.
server-tools/instance-manager/log.cc
View file @
64166ebf
...
...
@@ -22,6 +22,8 @@
#include <stdarg.h>
#include "portability.h"
/* for vsnprintf() on Windows. */
/*
TODO:
- add flexible header support
...
...
sql/sql_trigger.cc
View file @
64166ebf
...
...
@@ -1412,8 +1412,8 @@ bool Table_triggers_list::change_table_name(THD *thd, const char *db,
}
if
(
table
.
triggers
)
{
LEX_STRING
old_table_name
=
{
(
char
*
)
STRING_WITH_LEN
(
old_table
)
};
LEX_STRING
new_table_name
=
{
(
char
*
)
STRING_WITH_LEN
(
new_table
)
};
LEX_STRING
old_table_name
=
{
(
char
*
)
old_table
,
strlen
(
old_table
)
};
LEX_STRING
new_table_name
=
{
(
char
*
)
new_table
,
strlen
(
new_table
)
};
/*
Since triggers should be in the same schema as their subject tables
moving table with them between two schemas raises too many questions.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment