Hi all,
I'm a CS grad student at CSU Fullerton and was hoping I could help out
a little bit with Drizzle. I'm attempting to go through the build
scripts and rename MYSQL variables to DRIZZLE, (for instance
MYSQL_VERSION_ID is now DRIZZLE_VERSION_ID). What I've done so far is
available at lp:~grant-glsoftware/drizzle/drizzle-config2 .. the
branch starts at trunk revision 312.
Everything has come along well so far, but I'm running into a problem
on item_strfunc.cc. I'm getting the following errors when compiling
on OS X 10.5 and Ubuntu 7.10:
g++ -DDRIZZLE_SERVER -DDEFAULT_DRIZZLE_HOME="\"/usr/local\"" -
DDATADIR="\"/usr/local/var\"" -DSHAREDIR="\"/usr/local/share/drizzle
\"" -DPLUGINDIR="\"/usr/local/lib/drizzle/plugin\"" -DLOCALEDIR=\"/usr/
local/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I/opt/local/
include -O2 -ggdb3 -fno-exceptions -fno-rtti -W -Wall -Wextra -
pedantic -Wundef -Wredundant-decls -Wno-long-long -Wno-strict-
aliasing -MT item_strfunc.o -MD -MP -MF .deps/item_strfunc.Tpo -
c -o item_strfunc.o item_strfunc.cc
item_strfunc.cc: In member function 'virtual String*
Item_func_concat::val_str(String*)':
item_strfunc.cc:127: error: expected unqualified-id before '(' token
item_strfunc.cc:132: error: expected unqualified-id before '(' token
item_strfunc.cc: In member function 'virtual String*
Item_func_concat_ws::val_str(String*)':
item_strfunc.cc:288: error: expected unqualified-id before '(' token
item_strfunc.cc:293: error: expected unqualified-id before '(' token
item_strfunc.cc: In member function 'virtual String*
Item_func_replace::val_str(String*)':
item_strfunc.cc:545: error: expected unqualified-id before '(' token
item_strfunc.cc:551: error: expected unqualified-id before '(' token
item_strfunc.cc:574: error: expected unqualified-id before '(' token
item_strfunc.cc:579: error: expected unqualified-id before '(' token
item_strfunc.cc: In member function 'virtual String*
Item_func_insert::val_str(String*)':
item_strfunc.cc:652: error: expected primary-expression before ')' token
item_strfunc.cc:652: error: expected `)' before '_current_thd'
item_strfunc.cc:657: error: expected unqualified-id before '(' token
item_strfunc.cc: In member function 'virtual String*
Item_func_repeat::val_str(String*)':
item_strfunc.cc:1731: error: expected unqualified-id before '(' token
item_strfunc.cc:1736: error: expected unqualified-id before '(' token
item_strfunc.cc: In member function 'virtual String*
Item_func_rpad::val_str(String*)':
item_strfunc.cc:1821: error: expected unqualified-id before '(' token
item_strfunc.cc:1826: error: expected unqualified-id before '(' token
item_strfunc.cc: In member function 'virtual String*
Item_func_lpad::val_str(String*)':
item_strfunc.cc:1926: error: expected unqualified-id before '(' token
item_strfunc.cc:1931: error: expected unqualified-id before '(' token
item_strfunc.cc: In member function 'virtual String*
Item_load_file::val_str(String*)':
item_strfunc.cc:2288: error: expected primary-expression before 'long'
item_strfunc.cc:2288: error: expected `)' before 'long'
item_strfunc.cc:2296: error: expected `)' before 'if'
Any help resolving this is appreciated, and I hope my small
contribution can be of use.
Regards,
Grant Limberg
[EMAIL PROTECTED]
LinkedIn: http://www.linkedin.com/in/grantlimberg
http://www.glsoftware.net
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help : https://help.launchpad.net/ListHelp