home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.os.vms      DEC's VAX* line of computers & VMS.      264,096 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 262,984 of 264,096   
   =?UTF-8?Q?Arne_Vajh=C3=B8j?= to Dan Cross   
   Re: extending MySQL on VMS   
   15 Aug 25 19:58:21   
   
   From: arne@vajhoej.dk   
      
   On 8/15/2025 9:40 AM, Dan Cross wrote:   
   > In article <107n93n$13rjm$1@dont-email.me>,   
   > Simon Clubley   wrote:   
   >> On 2025-08-12, Arne Vajhøj  wrote:   
   >>>           strcpy(message, "demo function requires two arguments: one   
   >>> string and one integer");   
   >>>           return 1;   
   >>   
   >> YUCK!!! :-) Does MySQL provide a maximum error message size field or   
   >> constant that you can use with strncpy() instead ?   
   >   
   > Indeed yuck, and MySQL _does_ provide a constant that gives   
   > the maximum error message size: `MYSQL_ERRMSG_SIZE`.   
   > https://dev.mysql.com/doc/extending-mysql/9.4/en/adding-loadab   
   e-function.html   
   Ah. There is a constant. Good find.   
      
   And it is 512 in 5.5 on VMS.   
      
   Arne   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca