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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
29c527cf
Commit
29c527cf
authored
Nov 08, 2001
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wrong memory allocation in SHOW OPEN TABLES
parent
55180ca1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
5 deletions
+12
-5
BUILD/compile-alpha-cxx
BUILD/compile-alpha-cxx
+2
-2
configure.in
configure.in
+2
-1
mysql-test/r/innodb.result
mysql-test/r/innodb.result
+6
-0
sql/sql_base.cc
sql/sql_base.cc
+2
-2
No files found.
BUILD/compile-alpha-cxx
View file @
29c527cf
...
@@ -6,8 +6,8 @@ aclocal; autoheader; aclocal; automake; autoconf
...
@@ -6,8 +6,8 @@ aclocal; autoheader; aclocal; automake; autoconf
CC=ccc CFLAGS="-fast" CXX=cxx CXXFLAGS="-fast -noexceptions -nortti" ./configure --prefix=/usr/local/mysql --disable-shared --with-extra-charsets=complex --enable-thread-safe-client --with-mysqld-ldflags=-non_shared --with-client-ldflags=-non_shared
CC=ccc CFLAGS="-fast" CXX=cxx CXXFLAGS="-fast -noexceptions -nortti" ./configure --prefix=/usr/local/mysql --disable-shared --with-extra-charsets=complex --enable-thread-safe-client --with-mysqld-ldflags=-non_shared --with-client-ldflags=-non_shared
make
make
-j2
rm */.deps/*
find . -name ".deps" | xargs rm -r
make
make
if [ $? = 0 ]
if [ $? = 0 ]
then
then
...
...
configure.in
View file @
29c527cf
...
@@ -2254,7 +2254,8 @@ AC_SUBST(server_scripts)
...
@@ -2254,7 +2254,8 @@ AC_SUBST(server_scripts)
# Some usefull subst
# Some usefull subst
AC_SUBST
(
CC
)
AC_SUBST
(
CC
)
AC_SUBST
(
GXX
)
AC_SUBST
(
GXX
)
AC_SUBST
(
TOOLS_LIBS
)
#Remove TOOLS_LIBS, because this is included in LIBRARIES
#AC_SUBST(TOOLS_LIBS)
# Output results
# Output results
AC_OUTPUT
(
Makefile extra/Makefile mysys/Makefile isam/Makefile
\
AC_OUTPUT
(
Makefile extra/Makefile mysys/Makefile isam/Makefile
\
...
...
mysql-test/r/innodb.result
View file @
29c527cf
...
@@ -818,6 +818,12 @@ a
...
@@ -818,6 +818,12 @@ a
1
1
2
2
4
4
alter table t1 add b int;
select * from t1;
a b
1 NULL
2 NULL
4 NULL
drop table t1;
drop table t1;
create table t1
create table t1
(
(
...
...
sql/sql_base.cc
View file @
29c527cf
...
@@ -160,7 +160,7 @@ OPEN_TABLE_LIST *list_open_tables(THD *thd, const char *wild)
...
@@ -160,7 +160,7 @@ OPEN_TABLE_LIST *list_open_tables(THD *thd, const char *wild)
if
(
table
)
if
(
table
)
continue
;
continue
;
if
(
!
(
*
start_list
=
(
OPEN_TABLE_LIST
*
)
if
(
!
(
*
start_list
=
(
OPEN_TABLE_LIST
*
)
sql_alloc
(
sizeof
(
*
start_list
)
+
entry
->
key_length
)))
sql_alloc
(
sizeof
(
*
*
start_list
)
+
entry
->
key_length
)))
{
{
open_list
=
0
;
// Out of memory
open_list
=
0
;
// Out of memory
break
;
break
;
...
@@ -587,7 +587,7 @@ bool close_temporary_table(THD *thd, const char *db, const char *table_name)
...
@@ -587,7 +587,7 @@ bool close_temporary_table(THD *thd, const char *db, const char *table_name)
table
=
*
prev
;
table
=
*
prev
;
*
prev
=
table
->
next
;
*
prev
=
table
->
next
;
close_temporary
(
table
);
close_temporary
(
table
);
if
(
thd
->
slave_thread
)
if
(
thd
->
slave_thread
)
--
slave_open_temp_tables
;
--
slave_open_temp_tables
;
return
0
;
return
0
;
}
}
...
...
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