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
a045161e
Commit
a045161e
authored
Dec 14, 2004
by
anjuta@arthur.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added pathes to mysqld_error.h and sql_state.h; fixed segfault bug;
parent
53db34f9
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
14 deletions
+21
-14
.bzrignore
.bzrignore
+1
-0
extra/Makefile.am
extra/Makefile.am
+12
-5
extra/comp_err.c
extra/comp_err.c
+2
-7
libmysqld/Makefile.am
libmysqld/Makefile.am
+3
-1
libmysqld/examples/Makefile.am
libmysqld/examples/Makefile.am
+1
-1
scripts/make_win_src_distribution.sh
scripts/make_win_src_distribution.sh
+2
-0
No files found.
.bzrignore
View file @
a045161e
...
@@ -985,3 +985,4 @@ vio/test-sslserver
...
@@ -985,3 +985,4 @@ vio/test-sslserver
vio/viotest-ssl
vio/viotest-ssl
extra/mysqld_error.h
extra/mysqld_error.h
extra/sql_state.h
extra/sql_state.h
extra/created_include_files
extra/Makefile.am
View file @
a045161e
...
@@ -19,14 +19,21 @@ INCLUDES = @MT_INCLUDES@ -I$(top_srcdir)/include \
...
@@ -19,14 +19,21 @@ INCLUDES = @MT_INCLUDES@ -I$(top_srcdir)/include \
-I
$(top_srcdir)
/extra
-I
$(top_srcdir)
/extra
LDADD
=
@CLIENT_EXTRA_LDFLAGS@ ../mysys/libmysys.a
\
LDADD
=
@CLIENT_EXTRA_LDFLAGS@ ../mysys/libmysys.a
\
../dbug/libdbug.a ../strings/libmystrings.a
../dbug/libdbug.a ../strings/libmystrings.a
BUILT_SOURCES
=
mysqld_error.h sql_state.h
BUILT_SOURCES
=
mysqld_error.h sql_state.h
pkginclude_HEADERS
=
$(BUILT_SOURCES)
pkginclude_HEADERS
=
$(BUILT_SOURCES)
created_sources
=
created_include_files
CLEANFILES
=
$(created_sources)
SUPERCLEANFILES
=
$(BUILT_SOURCES)
mysqld_error.h
:
comp_err
all
:
$(created_sources)
$(top_builddir)
/extra/comp_err
--charset
=
$(srcdir)
/../sql/share/charsets
--out-dir
=
$(top_builddir)
/sql/share/
--header_file
=
$(top_builddir)
/extra/mysqld_error.h
--state_file
=
$(top_builddir)
/extra/sql_state.h
--in_file
=
$(srcdir)
/../sql/share/errmsg.txt
# This will build mysqld_error.h and sql_state.h
mysqld_error.h
:
created_include_files
sql_state.h
:
created_include_files
sql_state.h
:
comp_err
created_include_files
:
comp_err
$(top_builddir)
/extra/comp_err
--charset
=
$(srcdir)
/../sql/share/charsets
--out-dir
=
$(top_builddir)
/sql/share/
--header_file
=
$(top_builddir)
/extra/mysqld_error.h
--state_file
=
$(top_builddir)
/extra/sql_state.h
--in_file
=
$(srcdir)
/../sql/share/errmsg.txt
$(top_builddir)
/extra/comp_err
--charset
=
$(srcdir)
/../sql/share/charsets
--out-dir
=
$(top_builddir)
/sql/share/
--header_file
=
$(top_builddir)
/extra/mysqld_error.h
--state_file
=
$(top_builddir)
/extra/sql_state.h
--in_file
=
$(srcdir)
/../sql/share/errmsg.txt
touch
created_include_files
bin_PROGRAMS
=
replace comp_err perror resolveip my_print_defaults
\
bin_PROGRAMS
=
replace comp_err perror resolveip my_print_defaults
\
resolve_stack_dump mysql_waitpid
resolve_stack_dump mysql_waitpid
...
...
extra/comp_err.c
View file @
a045161e
...
@@ -156,10 +156,8 @@ int main(int argc, char *argv[])
...
@@ -156,10 +156,8 @@ int main(int argc, char *argv[])
uint
row_count
;
uint
row_count
;
struct
errors
*
error_head
;
struct
errors
*
error_head
;
struct
languages
*
lang_head
;
struct
languages
*
lang_head
;
DBUG_ENTER
(
"main"
);
DBUG_ENTER
(
"main"
);
LINT_INIT
(
error_head
);
LINT_INIT
(
lang_head
);
charsets_dir
=
DEFAULT_CHARSET_DIR
;
charsets_dir
=
DEFAULT_CHARSET_DIR
;
if
(
get_options
(
&
argc
,
&
argv
))
if
(
get_options
(
&
argc
,
&
argv
))
DBUG_RETURN
(
1
);
DBUG_RETURN
(
1
);
...
@@ -751,13 +749,10 @@ static struct errors *parse_error_string(char *str, int er_count)
...
@@ -751,13 +749,10 @@ static struct errors *parse_error_string(char *str, int er_count)
static
struct
languages
*
parse_charset_string
(
char
*
str
)
static
struct
languages
*
parse_charset_string
(
char
*
str
)
{
{
struct
languages
*
head
,
*
new_lang
;
struct
languages
*
head
=
0
,
*
new_lang
;
DBUG_ENTER
(
"parse_charset_string"
);
DBUG_ENTER
(
"parse_charset_string"
);
DBUG_PRINT
(
"enter"
,
(
"str: %s"
,
str
));
DBUG_PRINT
(
"enter"
,
(
"str: %s"
,
str
));
LINT_INIT
(
head
);
/* skip over keyword */
/* skip over keyword */
str
=
find_end_of_word
(
str
);
str
=
find_end_of_word
(
str
);
if
(
!*
str
)
if
(
!*
str
)
...
...
libmysqld/Makefile.am
View file @
a045161e
...
@@ -26,7 +26,9 @@ DEFS = -DEMBEDDED_LIBRARY -DMYSQL_SERVER \
...
@@ -26,7 +26,9 @@ DEFS = -DEMBEDDED_LIBRARY -DMYSQL_SERVER \
-DDATADIR
=
"
\"
$(MYSQLDATAdir)
\"
"
\
-DDATADIR
=
"
\"
$(MYSQLDATAdir)
\"
"
\
-DSHAREDIR
=
"
\"
$(MYSQLSHAREdir)
\"
"
-DSHAREDIR
=
"
\"
$(MYSQLSHAREdir)
\"
"
INCLUDES
=
@MT_INCLUDES@ @bdb_includes@
-I
$(top_srcdir)
/include
\
INCLUDES
=
@MT_INCLUDES@ @bdb_includes@
-I
$(top_srcdir)
/include
\
-I
$(top_srcdir)
/sql
-I
$(top_srcdir)
/sql/examples
-I
$(top_srcdir)
/regex
\
-I
$(top_srcdir)
/sql
-I
$(top_srcdir)
/sql/examples
\
-I
$(top_srcdir)
/regex
\
-I
$(top_srcdir)
/extra
\
$(openssl_includes)
@ZLIB_INCLUDES@
$(openssl_includes)
@ZLIB_INCLUDES@
noinst_LIBRARIES
=
libmysqld_int.a
noinst_LIBRARIES
=
libmysqld_int.a
...
...
libmysqld/examples/Makefile.am
View file @
a045161e
...
@@ -15,7 +15,7 @@ link_sources:
...
@@ -15,7 +15,7 @@ link_sources:
DEFS
=
-DEMBEDDED_LIBRARY
DEFS
=
-DEMBEDDED_LIBRARY
INCLUDES
=
@MT_INCLUDES@
-I
$(top_srcdir)
/include
-I
$(srcdir)
\
INCLUDES
=
@MT_INCLUDES@
-I
$(top_srcdir)
/include
-I
$(srcdir)
\
-I
$(top_srcdir)
-I
$(top_srcdir)
/client
-I
$(top_srcdir)
/regex
\
-I
$(top_srcdir)
-I
$(top_srcdir)
/client
-I
$(top_srcdir)
/regex
\
$(openssl_includes)
-I
$(top_srcdir)
/extra
$(openssl_includes)
LIBS
=
@LIBS@ @WRAPLIBS@ @CLIENT_LIBS@
LIBS
=
@LIBS@ @WRAPLIBS@ @CLIENT_LIBS@
LDADD
=
@CLIENT_EXTRA_LDFLAGS@ ../libmysqld.a @innodb_system_libs@ @LIBDL@
$(CXXLDFLAGS)
LDADD
=
@CLIENT_EXTRA_LDFLAGS@ ../libmysqld.a @innodb_system_libs@ @LIBDL@
$(CXXLDFLAGS)
...
...
scripts/make_win_src_distribution.sh
View file @
a045161e
...
@@ -281,6 +281,8 @@ do
...
@@ -281,6 +281,8 @@ do
fi
fi
done
done
cp
extra/sql_state.h extra/mysqld_error.h
$BASE
/include
#
#
# support files
# support files
#
#
...
...
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