Re: Limiting the text size on text fields

2007-10-18 Thread Ganesh's screen
h) > VARCHAR(length) > BINARY(length) > VARBINARY(length) > > -- > Sebastian > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] > > > -- View this messag

Re: Limiting the text size on text fields

2007-10-18 Thread Sebastian Mendel
Ganesh's screen schrieb: > Is there a way to restrict the length of text field in MySQL. For example, it > is of 65K limit and could hold more than 2 characters. Is there a way to > restrict that to 4000 characters at table/field level. Coz the > max_allowed_packet constrainted the entire DB.

Limiting the text size on text fields

2007-10-15 Thread Ganesh's screen
message in context: http://www.nabble.com/Limiting-the-text-size-on-text-fields-tf4627867.html#a13213842 Sent from the MySQL - General mailing list archive at Nabble.com. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL

converting TEXT fields between charsets doesn't work

2007-04-04 Thread Nico Sabbi
Hi, I followed the instructions to change columns values from an encoding another (in my case from latin1 to utf8), but the operation simply failed. The manual reads http://dev.mysql.com/doc/refman/5.0/en/alter-table.html : " If you want to change the table default character set and all ch

Re: differences between varchar and text fields

2006-04-03 Thread Adam i Agnieszka Gąsiorowski FNORD
On 2006-01-20, at 01:13, Tucker Cunningham wrote: So, my question is: what are the pros and cons of using varchar vs. text/longtext? Right now, longtext seems to be the best option (it provides most flexibility in data that can be stored, at only a 2-byte-per-row storage premium) There

differences between varchar and text fields

2006-01-19 Thread Tucker Cunningham
hi all - I was looking for some clarification about the difference between varchar and the text types in MySQL 5.0.18. It seems to me that varchar and text both hold text data, are variable length, and have the same storage requirements (4 + L bytes). Also, longtext adds the ability to hol

Re: Comparing Numbers in Text Fields

2005-10-12 Thread zzapper
On Wed, 12 Oct 2005 13:27:52 +0200, wrote: >zzapper wrote: >> Hi, >> Recently had a few problems with comparing numbers stored in text >> mysql fields char(2), which I solved by chnging the field to int(1) >> >> Now my question is why do you sometimes "appear" to get away with >> this? > >My gues

Re: Comparing Numbers in Text Fields

2005-10-12 Thread Neculai Macarie
zzapper wrote: > Hi, > Recently had a few problems with comparing numbers stored in text > mysql fields char(2), which I solved by chnging the field to int(1) > > Now my question is why do you sometimes "appear" to get away with > this? My guess is that if the numbers are of the same length (numbe

Comparing Numbers in Text Fields

2005-10-12 Thread zzapper
Hi, Recently had a few problems with comparing numbers stored in text mysql fields char(2), which I solved by chnging the field to int(1) Now my question is why do you sometimes "appear" to get away with this? -- zzapper Success for Techies and Vim,Zsh tips http://SuccessTheory.com/ -- MySQ

Re: Re search and replace in large text fields

2005-07-27 Thread Gleb Paharenko
Hello. Use TEXT or BLOB columns' types. See: http://dev.mysql.com/doc/mysql/en/blob.html Use hexademical values in your scripts which load pages in the database. See: http://dev.mysql.com/doc/mysql/en/hexadecimal-values.html Possibly you'll need to increase packet size. See: h

RE: Re search and replace in large text fields

2005-07-21 Thread Jay Blanchard
[snip] Please could you advise me my MySql, is a bit shacky. I need to capture about 700 web pages to a large text column in my database, the search for all the links in the pages within the column and replace them with new relative links .. to the pages now stored in the data base .. so how do I

Re search and replace in large text fields

2005-07-21 Thread Gregory Machin
Hi all... Please could you advise me my MySql, is a bit shacky. I need to capture about 700 web pages to a large text column in my database, the search for all the links in the pages within the column and replace them with new relative links .. to the pages now stored in the data base .. so how do

UTF-8 problems in text fields

2005-04-22 Thread Douglas Anderson
MySQL: 4.1.11 OS: Solaris I have a database that stores Japanese in utf-8. I have NO problems if the field is defined as VARCHAR, but if the field is defined as TEXT any data after an extended character (Japanese, special symbols etc.) gets truncated. Looking at the archives I ran the followin

Re: Load data infile and text fields

2005-04-13 Thread sdotceci
To: [EMAIL PROTECTED] >To: mysql@lists.mysql.com >Subject: Re: Load data infile and text fields >Date: Sun, 10 Apr 2005 02:32:28 +0200 >Cc: [EMAIL PROTECTED] > > >Am Samstag, 2. April 2005 13.51 schrieb [EMAIL PROTECTED]: >> First of all I hope you can be patient for my en

Re: Load data infile and text fields

2005-04-09 Thread John Doe
Am Samstag, 2. April 2005 13.51 schrieb [EMAIL PROTECTED]: > First of all I hope you can be patient for my english > I'm working with data import into mysql from a txt file. I'm using LOAD > DATA INFILE > command but I cannot correctly import a text column of 595 characters. > I receive this (v

Re: Load data infile and text fields

2005-04-05 Thread sdotceci
ino" <[EMAIL PROTECTED]> >To: "mysql" , > <[EMAIL PROTECTED]> >Subject: Re: Load data infile and text fields >Date: Mon, 4 Apr 2005 15:52:06 -0400 > > >Stefano, > >I'm copying this to the mailing list. I think it is a lot better if we have

Re: Load data infile and text fields

2005-04-04 Thread Michael Stassen
On Apr 4, 2005, at 3:52 PM, Rhino wrote: Stefano, I'm copying this to the mailing list. I think it is a lot better if we have discussions of this kind on the mailing list so that others can also learn from them, either now or in the future via the mailing list archive. I'm glad to hear that you

Re: Load data infile and text fields

2005-04-04 Thread Rhino
-- From: <[EMAIL PROTECTED]> To: "Rhino" <[EMAIL PROTECTED]> Sent: Monday, April 04, 2005 12:24 PM Subject: Re: Load data infile and text fields Rhino, many thanks for your answer! My problem is that I need a filed with precision for a field of exactly 595 characters! Only te

Re: Load data infile and text fields

2005-04-04 Thread sdotceci
lot of little msword documents. Each record should have a single word file. I'd like to write a query (I hope without using api as php or other languages) that imports automatically all .doc files stored ina dir. Have any idea? Thanks Stefano >-- Messaggio originale -- >Subject: Re: L

Re: Load data infile and text fields

2005-04-04 Thread Gleb Paharenko
Hello. Do you use a VARCHAR type for that column? It's maximum length is limited to 255 characters. I think, switching to TEXT type could solve the problem. [EMAIL PROTECTED] wrote: > First of all I hope you can be patient for my english > I'm working with data import into mysql f

Re: Load data infile and text fields

2005-04-02 Thread Rhino
Rhino - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Saturday, April 02, 2005 6:51 AM Subject: Load data infile and text fields First of all I hope you can be patient for my english I'm working with data import into mysql from a txt file. I'm using LOAD DATA

Re: Load data infile and text fields

2005-04-02 Thread Michael Dykman
What is the structure of the table you are importing to? you might have merely hit the natural limit of the column type. - michael dykman On Sat, 2005-04-02 at 06:51, [EMAIL PROTECTED] wrote: > First of all I hope you can be patient for my english > I'm working with data import into mysql f

Load data infile and text fields

2005-04-02 Thread sdotceci
First of all I hope you can be patient for my english I'm working with data import into mysql from a txt file. I'm using LOAD DATA INFILE command but I cannot correctly import a text column of 595 characters. I receive this (very large) file from an external organization and this file is made w

Re: html links inside varchar and text fields

2004-10-27 Thread Gleb Paharenko
;[EMAIL PROTECTED]> wrote: > I have to put html links inside varchar and text fields. They have to be > (somehow) fulltext searchable (of course a substring, %keyword% search, > would pick them up - I realize that) and they have to render as > clickable links when I output the fie

Re: html links inside varchar and text fields

2004-10-27 Thread Michael J. Pawlowsky
Just put the href into the database. When you output it to html in PHP wrap it wth the rest. $href=$sql->data['href']; echo "The Link\n"; leegold wrote: I have to put html links inside varchar and text fields. They have to be (somehow) fulltext searchable (of course a subs

html links inside varchar and text fields

2004-10-27 Thread leegold
I have to put html links inside varchar and text fields. They have to be (somehow) fulltext searchable (of course a substring, %keyword% search, would pick them up - I realize that) and they have to render as clickable links when I output the fields via PHP. How would I do this? Is this more of a

CONVERT CHARACTER SET option work on TEXT fields?

2004-10-01 Thread Andy Ingham
Folks -- I'm using Client version:mysql Ver 14.6 Distrib 4.1.5-gamma, for pc-linux (i686) Server version: 4.1.5-gamma-standard-log They both happen to both be on the same system, which is RHEL AS 3. All defaults are now UTF8: Server characterset:utf8 Db characterset:u

Re: What format for text fields?

2004-07-15 Thread Jeff Gannaway
David Blomstrom <[EMAIL PROTECTED]> wrote on 07/14/2004 10:16:41 PM: > I was just curious how most of you do it. Do you just > dump in your text, or do you go to extra lengths to > make sure each paragraph begins on a new line in your > database? Whay code do you use for line breaks, so it > look

Re: What format for text fields?

2004-07-15 Thread SGreen
David, With kindest respect, I think that what you are asking is really a question about HTML formatting style and has very little to do with MySQL or its TEXT data type. Please try to keep your posts relevant to MySQL. If you really do have a question that relates to MySQL, please rephrase yo

What format for text fields?

2004-07-14 Thread David Blomstrom
I recently started experimenting with the text field. It generally works OK, but I have a question about pasting in the text. It seems a little awkward in phpMyAdmin, and I generally wind up with everything mushed together like this: Vermont is nicknamed the “Green Mountain State.”It is a beautif

Re: Text fields

2004-01-10 Thread Roger Baklund
* Segis-Eresmas > I have a table with a Text field (with texts) and Fulltext index. When > I search a word (...) f.e. 'with match...against...', How can i do it to > see the line and the line number of the text in that text-field? There is no such functionality in mysql, you would have to impleme

Text fields

2004-01-10 Thread Segis-Eresmas
Hi: I have a table with a Text field (with texts) and Fulltext index. When I search a word (...) f.e. 'with match...against...', How can i do it to see the line and the line number of the text in that text-field? Think's Segismundo -- MySQL General Mailing List For list archives: http://list

Re: Text fields

2003-08-28 Thread Ed Leafe
On Thursday, August 28, 2003, at 07:09 AM, Sreesekhar Palaparthy wrote: I wud like to rephrase my problemactually i want some method to insert large text/binary text values into BLOB fields in chunks , instead of inserting the values at once in entireity. So for that , i want to know h

Re: RE: Text fields

2003-08-28 Thread Sreesekhar Palaparthy
arthy [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2003 9:28 AM To: [EMAIL PROTECTED] Subject: Text fields Hi, How do we insert arbitary sized texts into MYSQL Text fields?? Is there any way to split the text into chunks and then append those chunks to the

RE: Text fields

2003-08-28 Thread Rob
: [EMAIL PROTECTED] Subject: Text fields Hi, How do we insert arbitary sized texts into MYSQL Text fields?? Is there any way to split the text into chunks and then append those chunks to the field??? ___ Art meets Army ; Swapna Weds Capt. Rajsekhar

Text fields

2003-08-28 Thread Sreesekhar Palaparthy
Hi, How do we insert arbitary sized texts into MYSQL Text fields?? Is there any way to split the text into chunks and then append those chunks to the field??? ___ Art meets Army ; Swapna Weds Capt. Rajsekhar. Rediff Matchmaker strikes another

Optimizing with TEXT fields

2003-05-31 Thread Jason Frisvold
Hi all, I'm in the process of designing a database and I'm a bit of an optimization freak ... I'd like to make sure that the actual structure of the database is optimal. With that said, my question is about TEXT fields. In the actual CREATE TABLE statement, would it

re: Text fields & Full text search

2003-02-27 Thread Victoria Reznichenko
On Thursday 27 February 2003 13:45, Hugo Wetterberg wrote: > Does anyone know how to use text fields (BLOB) in the full text search? You can create a fulltext index only on the VARCHAR and TEXT columns, but not on the BLOB. How to use fulltext index with TEXT columns look at: h

Re: Text fields & Full text search

2003-02-27 Thread Stanimir Dzharkalov
- Original Message - From: "Hugo Wetterberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 27, 2003 1:45 PM Subject: Text fields & Full text search > Does anyone know how to use text fields (BLOB) in the full text search? >

Text fields & Full text search

2003-02-27 Thread Hugo Wetterberg
Does anyone know how to use text fields (BLOB) in the full text search? Hugo PS. sql,query,queries,smallint - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com

Re: Export of text fields from Access2000

2002-10-14 Thread Tac
t;[EMAIL PROTECTED]> To: "Ivo Dvorak" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, October 14, 2002 11:34 AM Subject: RE: Export of text fields from Access2000 If you create the tables beforehand in MySQL and then export the data into the already created table,

RE: Export of text fields from Access2000

2002-10-14 Thread Greg Knaddison
we're not going to do anything about it." See Troubleshooting in Microsoft KB article Q321686. Greg -Original Message- From: Ivo Dvorak [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 6:18 AM To: [EMAIL PROTECTED] Subject: Export of text fields from Access2000 Hell

Export of text fields from Access2000

2002-10-11 Thread Ivo Dvorak
Hello, I export a table from Access 2000 on WinXP to MySQL using the MyODBC 3.51.04 and text fields are exported as text fields from Access instaed of varchar as it should logically be (MEMO is the Access equivalent for Mysql text type). I have Jet SP6 and latest MDAC installed. Is there a

problem with TEXT fields

2002-09-24 Thread hgadm
hello, this is presumably such a dull newbie question but i did consult several manuals and couldn't find it: When trying to import xml data into MySQL via a perl script, i encounter the problem that the data is written into the value fields when VARCHAR is choosen, but not when TEXT is chosen:

text fields isolation

2002-07-30 Thread Evgeny Chuykov
Hi. For example one have a table with some fields including text(blob). Is it faster at all with SELECTs that doesn't use this(those) text fields if they are moved into another table and linked using primary key or it does not signify? Best regards E

Re: indexing text fields possible?

2002-05-20 Thread Jeremy Zawodny
On Mon, May 20, 2002 at 04:33:41PM +0200, andy wrote: > Thank you Egor for you reply. > > I did read about indexing text column on the mysql site. So I tryed > to index my column like described. After 1 hour, I had to reboot my > machine because there was no other way. No other way? You could h

Re: indexing text fields possible?

2002-05-20 Thread andy
CTED]> Sent: Monday, May 20, 2002 3:59 PM Subject: Re: indexing text fields possible? > andy, > Sunday, May 19, 2002, 7:06:00 PM, you wrote: > > a> I am wondering if it would be anyhow possible to make a search on a mysql > a> textfield faster. Right now the table contains 2

Re: indexing text fields possible?

2002-05-20 Thread Egor Egorov
andy, Sunday, May 19, 2002, 7:06:00 PM, you wrote: a> I am wondering if it would be anyhow possible to make a search on a mysql a> textfield faster. Right now the table contains 294000 entries and takes a> about 40 MB of space. Is there a way to apply a index with a resonable a> amount of disk sp

indexing text fields possible?

2002-05-19 Thread andy
Hi there, I am wondering if it would be anyhow possible to make a search on a mysql textfield faster. Right now the table contains 294000 entries and takes about 40 MB of space. Is there a way to apply a index with a resonable amount of disk space? I am also not so sure if I should use text or sm

Text fields with \ characters and querying

2002-03-10 Thread Niek van Baalen
Hello, I am transfering from Access to MySQL. I use it for a bibliograhical database. In bibliograhical data the \ signs stands for semantische opposition. My problem is that a query like select * from term where term=$term$ works with Access but fails in MySQL when a \ character is in th

RE: Semi colons in text fields in update statement

2001-09-20 Thread johnlucas-Arluna
PROTECTED]; johnlucas-Arluna; [EMAIL PROTECTED] Subject: RE: Semi colons in text fields in update statement At 2:00 PM -0400 9/20/01, Will French wrote: >There probably is a better way but the following should work: > >"UPDATE tblCompany SET CoName=CONCAT('"', CHAR(59)

Re: Semi colons in text fields in update statement

2001-09-20 Thread j.urban
> "Update tblCompany SET CoName='"tester"' WHERE CoID=109" It's not the query string. I just submitted this query using urSQL (uses ODBC) and it worked just fine (assuming CoName is a varchar(32)). I'm also able to successfully run this query and similar queries via ADO from a Delphi applicat

RE: Semi colons in text fields in update statement

2001-09-20 Thread Will French
perly account for its being embeded in a literal string. > -Original Message- > From: Paul DuBois [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 20, 2001 2:15 PM > To: [EMAIL PROTECTED]; johnlucas-Arluna; [EMAIL PROTECTED] > Subject: RE: Semi colons in text fields in update s

RE: Semi colons in text fields in update statement

2001-09-20 Thread Jay Fesco
> > There is no need for such an escape sequence because semicolons > in strings are not special. Maybe it's an ADO bug. > Paul et al - I think his problem is with quotes, not semicolons. The line "Update tblCompany SET CoName='"\;tester"\;' WHERE CoID=109" is what leads me to believe this. Tr

RE: Semi colons in text fields in update statement

2001-09-20 Thread Paul DuBois
not special. Maybe it's an ADO bug. > >> -Original Message- >> From: johnlucas-Arluna [mailto:[EMAIL PROTECTED]] >> Sent: Thursday, September 20, 2001 1:45 PM >> To: [EMAIL PROTECTED] >> Subject: Semi colons in text fields in update statement

RE: Semi colons in text fields in update statement

2001-09-20 Thread Will French
I'll be damned if I can find it documented. Until someone else enlightens us both, hopefully the above solution will see you through. > -Original Message- > From: johnlucas-Arluna [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 20, 2001 1:45 PM > To: [EMAIL P

Re: Semi colons in text fields in update statement

2001-09-20 Thread Paul DuBois
At 6:44 PM +0100 9/20/01, johnlucas-Arluna wrote: >Hello > >I'm trying to do the following: > >"Update tblCompany SET CoName='"tester"' WHERE CoID=109" > >But getting an error message > >I tried the escape character "\" like > >"Update tblCompany SET CoName='"\;tester"\;' WHERE CoID=109" > >but ge

Semi colons in text fields in update statement

2001-09-20 Thread johnlucas-Arluna
Hello I'm trying to do the following: "Update tblCompany SET CoName='"tester"' WHERE CoID=109" But getting an error message I tried the escape character "\" like "Update tblCompany SET CoName='"\;tester"\;' WHERE CoID=109" but get the same error This happens whether I use ADODB in VB or if

Re: Bug report: FULLTEXT index corrupts the index with too many TEXT fields

2001-07-29 Thread Sinisa Milivojevic
Carsten Gehling writes: > I'm back now, and have tested the 3.23.40. It works like a charm :-) Nice > work! > > Now I only wait for the Win32 binary to be released. I didn't think there > were any delays between the releasins anymore? > > - Carsten > Thanks for the compliments. Win32 binaries

Re: Bug report: FULLTEXT index corrupts the index with too many TEXT fields

2001-07-29 Thread Carsten Gehling
t;[EMAIL PROTECTED]> To: "Carsten Gehling" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, July 20, 2001 1:49 PM Subject: Re: Bug report: FULLTEXT index corrupts the index with too many TEXT fields > Hi! > > 3.23 (but 4.0 hasn't that bug either). > &

Re: Cannot create text fields

2001-07-27 Thread Cal Evans
]> To: "mysql list" <[EMAIL PROTECTED]> Sent: Monday, July 23, 2001 10:31 Subject: Cannot create text fields > Using the following Syntax I tried to create a table in mySQL. However each > time it returned a mySQL error which I eventually worked out it was because >

RE: searching multiple text fields

2001-07-25 Thread Chris Bolt
> I need to build a search utility which can query records based > on multiple text parameter, > my table will have about 10 fields and users can search on > 3-5 parameters in one query. is there any way to achieve this > other than doing a full table scan. http://www.mysql.com/doc/F/u/Fullt

searching multiple text fields

2001-07-25 Thread raghu nidagal
Hello I need to build a search utility which can query records based on multiple text parameter, my table will have about 10 fields and users can search on 3-5 parameters in one query. is there any way to achieve this other than doing a full table scan. thanks raghu ---

Re: Cannot create text fields

2001-07-23 Thread Paul DuBois
At 1:31 PM +1000 7/24/01, Geoff Martin wrote: >Using the following Syntax I tried to create a table in mySQL. However each >time it returned a mySQL error which I eventually worked out it was because >I'd defined a field as text. I am able to define fields as varchar, char, >int or float (I've tes

Cannot create text fields

2001-07-23 Thread Geoff Martin
Using the following Syntax I tried to create a table in mySQL. However each time it returned a mySQL error which I eventually worked out it was because I'd defined a field as text. I am able to define fields as varchar, char, int or float (I've tested for theses so far) but not text or blob. The

Re: Bug report: FULLTEXT index corrupts the index with too many TEXT fields

2001-07-20 Thread Fournier Jocelyn [Presence-PC]
D]>; "Sergei Golubchik" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, July 20, 2001 2:55 PM Subject: RE: Bug report: FULLTEXT index corrupts the index with too many TEXT fields > Hi > Where can we get V4.0? > > Thanks Simon > > -Original M

RE: Bug report: FULLTEXT index corrupts the index with too many TEXT fields

2001-07-20 Thread Simon Green
6 PM Subject: Re: Bug report: FULLTEXT index corrupts the index with too many TEXT fields > I'm going to Spain today and cannot respond to any questions in the next > week. I was going to wait with this until I got home again, but what the > heck ;-) > > Run the following script th

Re: Bug report: FULLTEXT index corrupts the index with too many TEXT fields

2001-07-20 Thread Sergei Golubchik
Hi! 3.23 (but 4.0 hasn't that bug either). Will be 2.23.40 soon. And have nice trip, btw. On Jul 20, Carsten Gehling wrote: > Which dev. tree is that? 3.23 or 4.0? > > - Carsten (who hasn't left yet ;-) > > - Original Message - > From: "Sergei Golubchik" <[EMAIL PROTECTED]> > Subject

Re: Bug report: FULLTEXT index corrupts the index with too many TEXT fields

2001-07-20 Thread Carsten Gehling
PM Subject: Re: Bug report: FULLTEXT index corrupts the index with too many TEXT fields > Hi! > > Ok, confirmed (finally :-) ) > > My fault was that I was using our latest developmnet tree. > When I've tried this on 3.23.39 as went public, the bug appeared. > > So, loo

Re: Bug report: FULLTEXT index corrupts the index with too many TEXT fields

2001-07-20 Thread Fournier Jocelyn [Presence-PC]
Subject: Re: Bug report: FULLTEXT index corrupts the index with too many TEXT fields > I'm going to Spain today and cannot respond to any questions in the next > week. I was going to wait with this until I got home again, but what the > heck ;-) > > Run the following script th

Re: Bug report: FULLTEXT index corrupts the index with too many TEXT fields

2001-07-20 Thread Carsten Gehling
TED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, July 20, 2001 12:06 PM Subject: Re: Bug report: FULLTEXT index corrupts the index with too many TEXT fields > I'm going to Spain today and cannot respond to any questions in the next > week. I was going to wait with this until I got hom

Re: Bug report: FULLTEXT index corrupts the index with too many TEXT fields

2001-07-20 Thread Sergei Golubchik
Hi! Ok, confirmed (finally :-) ) My fault was that I was using our latest developmnet tree. When I've tried this on 3.23.39 as went public, the bug appeared. So, looks like the bug was fixed even before it was found :-) Probably, it is somehow related to over bug I've fixed since 3.23.39 relea

Re: Bug report: FULLTEXT index corrupts the index with too many TEXT fields

2001-07-20 Thread Sinisa Milivojevic
Thanks for your bug report. I am sure Sergei will have the answer before you come back from Spain ... -- Regards, __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Mr. Sinisa Milivojevic <[EMAIL PROTECTED]> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer /_/ /_/\_, /___/

Re: Bug report: FULLTEXT index corrupts the index with too many TEXT fields

2001-07-20 Thread Carsten Gehling
I'm going to Spain today and cannot respond to any questions in the next week. I was going to wait with this until I got home again, but what the heck ;-) Run the following script through your MySQL on an empty database with mysql -uusername -ppassword dbname http://www.mysql.com/manual.php (t

SV: Bug report: FULLTEXT index corrupts the index with too many TEXT fields

2001-07-19 Thread Martin Larsen
Hi! >> On Jul 19, Carsten Gehling wrote: > > Finally I was able to produce a complete step-by-step to > corrupt the index > > ;-) > > > > mysql> insert into visitkort (kategori_id) values (108); > > mysql> select last_insert_id(); > > mysql> update visitkort set navn = 'test5' where id = 1; > > m

Re: Bug report: FULLTEXT index corrupts the index with too many TEXT fields

2001-07-19 Thread Sergei Golubchik
Hi! On Jul 19, Carsten Gehling wrote: > Finally I was able to produce a complete step-by-step to corrupt the index > ;-) > > mysql> insert into visitkort (kategori_id) values (108); > mysql> select last_insert_id(); > mysql> update visitkort set navn = 'test5' where id = 1; > mysql> update visit

Solution (but only a temporary one) Re: Bug report: FULLTEXT index corrupts the index with too many TEXT fields

2001-07-18 Thread Carsten Gehling
f the NULL value in RDBMS' - I regard it as a necessary evil to be used sparsely. So it would be great if I did not have to convert my text fields (text & varchar) into accepting NULL. - Carsten - Original Message - From: "Sergei Golubchik" <[EMAIL PROTECTED]>

Re: Bug report: FULLTEXT index corrupts the index with too many TEXT fields

2001-07-18 Thread Carsten Gehling
s still there. So it is definitely a problem within the FULLTEXT index. - Carsten - Original Message - From: "Sergei Golubchik" <[EMAIL PROTECTED]> To: "Carsten Gehling" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, July 16, 2001 6:26 PM Subject

Re: Bug report: FULLTEXT index corrupts the index with too many TEXT fields

2001-07-16 Thread Sergei Golubchik
Hi! On Jul 16, Carsten Gehling wrote: > Description: > A specific table (see "How-To-Repeat) with a FULLTEXT index causes errors in > the MYI file when inserting new rows. > > 1) Create the following table: > CREATE TABLE `visitkort` ( [skip] > ) TYPE=MyISAM; > > 2) Insert a row with the follow

Bug report: FULLTEXT index corrupts the index with too many TEXT fields

2001-07-16 Thread Carsten Gehling
hk --safe-recover -force visitkort - recovering (with sort) MyISAM-table 'visitkort.MYI' Data records: 339 - Fixing index 1 Found block with too small length at 22812; Skipped - Fixing index 2 - Fixing index 3 - Fixing index 4 - Fixing index 5 Fix: The error does not occur, if you drop

Re: innodb text fields

2001-06-14 Thread Russell King
From: ryc <[EMAIL PROTECTED]> > I am aware that currently innobase tables can not have abritararly large > text/varchar fields and support for this will be released sometime in the > month of June. The application I am working with requires text fields > (usually less than 64k)

Re:innodb text fields

2001-06-14 Thread Heikki Tuuri
Ryan, I hope it pays to wait. If you compile MySQL/InnoDB yourself, you will get unlimited BLOB and TEXT fields within 16 days. I am writing the support for them now and I will release the source code at my website. It will also be in the next binary release of MySQL/InnoDB, unless Monty

RE: innodb text fields

2001-06-13 Thread Alok K. Dhir
fault. Hello PostgreSQL... Good luck > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > m] On Behalf Of ryc > Sent: Wednesday, June 13, 2001 8:48 PM > To: MySQL > Subject: innodb text fields > > > I am aware that currently innobase ta

innodb text fields

2001-06-13 Thread ryc
I am aware that currently innobase tables can not have abritararly large text/varchar fields and support for this will be released sometime in the month of June. The application I am working with requires text fields (usually less than 64k), and I desperatly need row level locking. Either I

Problem Inserting/Updating TEXT Fields

2001-04-23 Thread Florencia Vitale
Hi all, I'm new to this list, and would like to post a question. I have a database with one table with a TEXT field where we save HTML files. This table is Updated and Selected from a Servlet Applicacion, using JDBC. Some TEXTs have a size of arround 60Kb. For records with this size (or arround

Re: Searching text fields

2001-04-09 Thread Mark Selby
> database,sql,query > Hi All, > > Is there a nice way to take a search string eg > "America spying China" and search a text or > blob field for occurances of all of the words > in the text in any order (ie not just a literal > string match, but the equivalent of > AND X LIKE "%America%" AND X

Re: Problems with text fields

2001-02-12 Thread Rus
Use TEXT type to store texts larger than 255 symbols. - Original Message - From: Thomas Kaester(global) <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 12, 2001 11:10 AM Subject: Problems with text fields > Hello everybody, > > ich have a f

Re: Problems with text fields

2001-02-12 Thread Artem Koutchine
what's you table definition, what;s your query - Original Message - From: "Thomas Kaester(global)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 12, 2001 11:10 AM Subject: Problems with text fields > Hello everybody, > > ich hav

Problems with text fields

2001-02-11 Thread Thomas Kaester(global)
Hello everybody, ich have a few problems with text fields. I want to get the text data of a mysql text field. The saved texts are longer than 256 characters. But if I use a select statement mysql returns only 256 characters! Do anybody know why and what I have to do? Greetings Tom

indexed text fields aren't handled correctly

2001-01-27 Thread okuji
>Description: When creating an index with multiple text fields, `where' clause isn't handled correctly. If no index is present, "a = 'foo' and b = 'bar'" does work well. However, if an index is present, "a = 'foo

pattern searching in "text" fields

2001-01-17 Thread John Engler
Dear list, I'm new to MySQL and all of it's trappings. Currently we're running PHP 3.x in conjunction with MySQL 3.22.22 and I need to get better results from my text searches. If anyone can help, thanks in advance. Currently I'm "searching" a field in my DB using this type of query: $searchQ