Bug #3479 CREATE FUNCTION return "ERROR 1105: Unknown error"
Submitted: 15 Apr 2004 15:04 Modified: 4 Sep 2004 13:30
Reporter: chris vale Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server: User-defined functions ( UDF ) Severity:S2 (Serious)
Version:4.0.18 Max OS:MacOS (Mac OS X 10.3.3)
Assigned to: Assigned Account CPU Architecture:Any

[15 Apr 2004 15:04] chris vale
Description:

I'm using the MySQL compiled 4.0.18 Max distribution on Mac OS 10.3.3.

No form of the CREATE FUNCTION SONAME statement returns anything but error 1105.  I've tried this 
with the shared library in every conceivable location and I've tried things like inserting explicit pathing 
(which shouldn't be accepted) into the soname. It appears that something is failing long before 
mysql_create_function is being called.

How to repeat:
CREATE FUNCTION foo SONAME "blah.so";

this always returns 1105
[15 Apr 2004 15:23] chris vale
so, I downloaded the source tarball, built with the configure setting described in the docs and it works. 
Whatever the problem is it is limited to the MySQL max binary distribution.
[28 Apr 2004 17:50] Lenz Grimmer
The 4.0.18 Mac OS X binary was compiled on Mac OS X 10.2.8 - I assume there
is some kind of binary incompatibility that causes this problem. That's why
it did not show up when you compiled MySQL yourself.

Starting with the next release, we will also offer binaries compiled on 10.3.3 -
could you please test with this binary again? I will set this bug report to
"deferred" for the time being. Thanks!
[4 Aug 2004 13:29] Lenz Grimmer
I set this bug to "Need Feedback", but I assume it has been resolved by using the packages
we provide for Mac OS X 10.3.x
[14 Feb 2005 22:54] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".