Skip to content

Commit

Permalink
Fix example SQL UDF in SET docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mosabua committed Feb 18, 2025
1 parent 1813494 commit 830e570
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/main/sphinx/udf/sql/set.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ multiple times to different values:

```sql
FUNCTION one()
RETURNS bigint
RETURNS int
BEGIN
DECLARE counter tinyint DEFAULT 1;
DECLARE counter int DEFAULT 1;
SET counter = 0;
SET counter = counter + 2;
SET counter = counter / counter;
Expand Down

0 comments on commit 830e570

Please sign in to comment.