I want to setup a filter on mysql server side so the client doesn't need to worry about if the message is valid. e.g , if value>10, accept, else ignore.
One way I think of is to setup a BEFORE INSERT trigger, but I don't know the proper way to drop the invalid value. AFTER INSERT delete works but not an option,I just want the server to skip insert processing on this one. Can anyone give me a hint? Thanks