Commit graph

2 commits

Author SHA1 Message Date
Mikhail Teterin
d9de5588ed Make buildable with newer MySQL clients -- 4 and 5 -- but keep
compatible with the 3 -- mysql_error now returns `const char *', and
there is no mysql_connect any more. Default to MySQL-4.x for now. Bump
PORTREVISION.

Reported by:	Robert Andrews
2004-11-11 18:06:27 +00:00
Mikhail Teterin
def45225d8 The newer, kinder C++ does not like it, when the default values
for functions' arguments are specified twice -- in the declaration
(sql-mysql.h) and in the definition (sql-mysql.cc). The added patch
removes the redundant defaults from the functions' definitions and fixes
the build on -current.

Submitted by:	bento
Not Approved by: portmgr -- no approval requested, since port did not build
2002-11-27 00:47:37 +00:00