Dear colleagues!
I need to create my own aggregate UDF, so I decided to test UDF_example
from Windows MySQL source.
I've created udf_example.dll and udf_example.lib with VC++ 6.0.
Then, I haven't any problem with all of udf's, excepting the aggregate
udf avgcost.
On my "SELECT avgcost(a,b) from t1;" Mysqld-max sends info message:
(Sorry, I try to translate from Russian)"
"the programm made fatal operation and will be closed".
On click the button "info" on this message I have next text (I try to
translate from Russian):
The programm MYSQLD-MAX called error on access to memory page
in module <no data> at address 00de:00000003.
Программа MYSQLD-MAX вызвала сбой при обращении к странице памяти
в модуле <нет данных> по адресу 00de:00000003.
Регистры:/Registers:
EAX=00bd7144 CS=015f EIP=00000003 EFLGS=00010253
EBX=00000000 SS=0167 ESP=046ffb04 EBP=ffffffff
ECX=a844c100 DS=0167 ESI=00bd7158 FS=0f37
EDX=046ffb23 ES=0167 EDI=00bd7170 GS=0000
Байты по адресу CS:EIP:/ Bytes at address CS:EIP:
00 65 04 70 00 16 00 b8 0a 65 04 70 00 65 04 70
Содержимое стека: /Contens of stack:
004376e5 00bd7158 00bd7144 046ffb23 00bd7170 00bd7a74 00bd7c20 00bd713c
00438ddc 00bd711b 004877a8 00bd7248 0048f468 00bd7a74 00000000 00bd7248
Please, help me.
Thanks.
Tamara
--- Begin Message ---
Dear colleagues!
I need to create my own aggregate UDF, so I decided to test UDF_example
from Windows MySQL source.
I've created udf_example.dll and udf_example.lib with VC++ 6.0.
Then, I haven't any problem with all of udf's, excepting the aggregate
udf avgcost.
On my "SELECT avgcost(a,b) from t1;" Mysqld-max sends info message:
(Sorry, I try to translate from Russian)"
"the programm made fatal operation and will be closed".
On click the button "info" on this message I have next text (I try to
translate from Russian):
The programm MYSQLD-MAX called error on access to memory page
in module <no data> at address 00de:00000003.
Программа MYSQLD-MAX вызвала сбой при обращении к странице памяти
в модуле <нет данных> по адресу 00de:00000003.
Регистры:/Registers:
EAX=00bd7144 CS=015f EIP=00000003 EFLGS=00010253
EBX=00000000 SS=0167 ESP=046ffb04 EBP=ffffffff
ECX=a844c100 DS=0167 ESI=00bd7158 FS=0f37
EDX=046ffb23 ES=0167 EDI=00bd7170 GS=0000
Байты по адресу CS:EIP:/ Bytes at address CS:EIP:
00 65 04 70 00 16 00 b8 0a 65 04 70 00 65 04 70
Содержимое стека: /Contens of steck:
004376e5 00bd7158 00bd7144 046ffb23 00bd7170 00bd7a74 00bd7c20 00bd713c
00438ddc 00bd711b 004877a8 00bd7248 0048f468 00bd7a74 00000000 00bd7248
Please, help me.
Tamara
--- End Message ---
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]