Workaround to Handle Warning Generated in a Stored Procedure: "No data - zero rows fetched, selected, or processed"

(Doc ID 1480187.1)

Last updated on OCTOBER 16, 2017

Applies to:

MySQL Server - Version 5.0 to 5.5 [Release 5.0 to 5.5]
Information in this document applies to any platform.
This workaround is applicable only for MySQL Server version < 5.6

Symptoms

Below test case shows that despite handling the warnings in the stored procedure, stored procedure still generates below warnings and doesn't clear.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms