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
bab37416
Commit
bab37416
authored
Sep 23, 2006
by
lars/lthalmann@dl145k.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/users/lthalmann/bk/MERGE/mysql-5.0-merge
into mysql.com:/users/lthalmann/bk/MERGE/mysql-5.1-merge
parents
bbbb3901
7a761a25
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
BitKeeper/etc/collapsed
BitKeeper/etc/collapsed
+1
-0
sql/Makefile.am
sql/Makefile.am
+2
-1
sql/udf_example.c
sql/udf_example.c
+7
-0
No files found.
BitKeeper/etc/collapsed
View file @
bab37416
...
...
@@ -2,3 +2,4 @@
44ec850ac2k4y2Omgr92GiWPBAVKGQ
44edb86b1iE5knJ97MbliK_3lCiAXA
44f33f3aj5KW5qweQeekY1LU0E9ZCg
4513d8e4Af4dQWuk13sArwofRgFDQw
sql/Makefile.am
View file @
bab37416
...
...
@@ -122,7 +122,8 @@ DEFS = -DMYSQL_SERVER \
BUILT_SOURCES
=
sql_yacc.cc sql_yacc.h lex_hash.h
EXTRA_DIST
=
udf_example.c udf_example.def
$(BUILT_SOURCES)
\
nt_servc.cc nt_servc.h message.mc CMakeLists.txt
nt_servc.cc nt_servc.h message.mc CMakeLists.txt
\
udf_example.c udf_example.def
CLEANFILES
=
lex_hash.h sql_yacc.cc sql_yacc.h sql_yacc.output
AM_YFLAGS
=
-d
--debug
--verbose
...
...
sql/udf_example.c
View file @
bab37416
...
...
@@ -127,7 +127,14 @@ typedef long long longlong;
#else
#include <my_global.h>
#include <my_sys.h>
#if defined(MYSQL_SERVER)
#include <m_string.h>
/* To get strmov() */
#else
/* when compiled as standalone */
#define strmov(a,b) strcpy(a,b)
#define bzero(a,b) memset(a,0,b)
#define memcpy_fixed(a,b,c) memcpy(a,b,c)
#endif
#endif
#include <mysql.h>
#include <ctype.h>
...
...
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