Raised This Month: $ Target: $400
 0% 

SQLX mysql size var


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
loiraolhosazul
Member
Join Date: May 2020
Old 01-08-2021 , 23:43   SQLX mysql size var
Reply With Quote #1

my problem is that I need to save a text with many characters, the problem is in amxmodx, the limit is 3072, in mysql there is no problem,

My text would look something like this: 0 1 2 3 4 5 6 7 etc
but the maximum limit is 3072.

new data [3072]

any suggestions for me to save this data and load it?
loiraolhosazul is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 01-09-2021 , 08:06   Re: SQLX mysql size var
Reply With Quote #2

You could just increase the size of the buffer. In your case, instead of new data[3072] you could initialize with a size of 9999 or any number that fits your needs. I've tested and seems to work, I misunderstood what you meant with "the maximum limit is 3072".
__________________









Last edited by CrazY.; 01-09-2021 at 08:06.
CrazY. is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 01-09-2021 , 08:26   Re: SQLX mysql size var
Reply With Quote #3

that it depends if he's using windows 98 and 100megabyte ram which wont even run cs 1.6
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 01-09-2021 at 08:27.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
loiraolhosazul
Member
Join Date: May 2020
Old 01-09-2021 , 14:58   Re: SQLX mysql size var
Reply With Quote #4

Quote:
Originally Posted by CrazY. View Post
You could just increase the size of the buffer. In your case, instead of new data[3072] you could initialize with a size of 9999 or any number that fits your needs. I've tested and seems to work, I misunderstood what you meant with "the maximum limit is 3072".
it doesn't work, let's assume that the data in my table has more than 3072 characters, if I take the data from sql amxmodx itself cuts the data because the length is greater, the length of my text is greater than 3072

bp
não funciona, vamos supor que os dados da minha tabela tem mais que 3072 caracteres, se eu pegar os dados do sql o proprio amxmodx corta os dados pois o comprimento é maior, o comprimento do meu texto é maior que 3072
loiraolhosazul is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode