UDF to access OLD and NEW from trigger

Mansour Al Akeel <[email protected]> Fri, 5 Jun 2015 15:53:19 +0400
Newsgroups gmane.comp.db.mysql.devel
Message-ID <CAFvvX=Y-HcabFVCYtthzhTsUoqoG+vjhMgb-RZO=OA=hMwDAxg@mail.gmail.com>
Hello,


I am searching the possibility to write a UDF that needs access to all
the fields before and after an update of a record.
The function needs to convert this record to a CSV.

OLD and NEW keywords inside a trigger access the fields values only if
they are known in advance.
For example (OLD.id). I can not access the whole record or convert it
to a CSV as if (OLD.*).

Is there a way in mysql to convert the values of a record without
knowing its fields name (OLD and NEW) inside a trigger to a CSV ?

Thank you.

-- 
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe:    http://lists.mysql.com/internals