InnoDB and MyISAM are two of the most common data storage engines for MySQL. Databases such as Oracle and SQL Server have not been researched, so the following is only for MySQL.Data storage structure in one or two ways:Under MyISAM, every data table in the database has *.FRM, *. Ymi and *. Ymd three files, where *.FRM stores the table structure of a data table, *. Myi the index of the stored data table, *.
1. The parent form passes values to the subform:Parent form:1 New FRM Cash Bank code (1,0); 2 This ; 3 frm. ShowDialog ();Subform:1 int 0 ; 2 Public FRM Cash Bank code (int ty,int IND)3 {4 InitializeComponent (); 5 type = ty; 6 index = ind; 7 }Data Update:1 Private void renovate () 2
the Report. Optional;
If all the above four interfaces are used, the usage is as follows:
-(Id) initWithPath :( NSString *) reportPath serverUrl :( NSString *) serverUrlviewType :( IFEntryViewType) viewType parameters :( NSDictionary *) params;
For example, if a URL is integrated with a form under an online app demo, the URL can be directly previewed without passing parameters. The Code is as follows:
1. IFEntryViewController * entryVC = [[IFEntryViewController alloc] initWithPath: @ "app/sales
record the data for setting the tray icon.
Private TheData As policyicondata
Then we can use this function to set the system tray icon. The specific method is as follows:
1. Add an icon
With TheData. Uid = 0. HWnd = frm. HWnd 'frm. HWnd is the handle of the main form of the program.. CbSize = Len (TheData). HIcon = frm. Icon. Handle '
resources have been released during the first run. So we need to instantiate one, that is, rewrite the member variable.
It is convenient to use the pause and resume functions.
1 _ttSpeak.SpeakPause();
_ttSpeak.SpeakResume();
Note that you must disable the read button when executing the read-only function. Otherwise, an error will be reported when you click it again.
Write the enabled method in backgroundworkerappsrunworkercompleted ~~~
C # single-key pause can be int I = 1; // first defin
=REGEXP Backup only those per-table innodb data files which match the regular expression (REGEXP). For each table with a per-table data file, a string of the form db_name.table_name is checked against the regular expression (REGEXP). If the REGEXP matches db_name.table_name, the table is included. The REGEXP should be of POSIX 1003.2 'extended' form.
We can see that the -- include parameter is matched by a regul
Innodb modifies the table shared space to an independent space bitsCN.com
Recently, the mysql innodb storage engine was optimized to convert the shared tablespace into an independent tablespace. I didn't think so much at the beginning, so I had to promote it in a short time. so I want to optimize it and see how it works. Describes a conversion process.
1. check whether the table space is shared or independent.
Mysql> show variables like '% per_table % ';+ ----------------------- + ------- +| Var
, it is not necessarily an independent tablespace. The most direct method is to view the files on the hard disk, independent tablespace, and each table corresponds to a space.
[Root @ localhost tg] # llTotal usage 64-Rw ----. 1 mysql 65 December 30 20:09 db. opt-Rw ----. 1 mysql 8658 December 30 23:17 gb. frm-Rw ----. 1 mysql 8658 December 30 23:19 qr. frm-Rw ----. 1 mysql 8658 December 30 23:19 qy.
How does Mysql delete a temporary table starting with "# SQL -"?
Author: skateTime: 2014/09/28
How does Mysql delete a temporary table starting with "# SQL -"?
Phenomenon: after re-indexing, the disk space of the Mysql server is almost full.
Run the following command to re-create the index:
Mysql> alter table skatetab add unique index (id, uid), drop primary key, add primary key (uid, id );
During index reconstruction, due to insufficient space, Mysql server reboot was found to have less space t
1. Create Form1;2. Creation of Fmxframe (New-Other->delphi Files, fmxframe); The unit name is Unitframe, the form named frm puts a button in the form, a memo, and here is just a test with a wood reference to it.3. Call.Uses unitframe;var frm:tfrm;begin frm: = UnitFrame.TFrm.Create (self); First create the frm. Name: = ' frm1 ';
The basic use of DockPanel I will not say, online a lot, I want to say is in the use of DockPanel need to pay attention to a few small problems
The first one:
Anyone who has ever used a dockpanel may have encountered an error such as:
Invalid Content:activecontent must be one of the visible contents, or null if there is no visible Content.
The meaning of translation is roughly: invalid content: If there is no visible content, activecontent must be visible content or empty.
What is the specific r
The examples in this article describe the effects that WinForm implements to make two forms active at the same time. The main use of Windows API implementation of a form when the activation of a message to send another. Share to everyone for your reference.The implementation method is as follows:Using system;using system.windows.forms;using system.runtime.interopservices;namespace WindowsApplication43{Public Partial class Form1:form {Form frm =null
WinForm special effect: make the two forms have activation effect at the same time, winform form
Windows api. When a form is activated, a message is sent to another api.
[Csharp]View plaincopy
Using System;
Using System. Windows. Forms;
Using System. Runtime. InteropServices;
Namespace WindowsApplication43
{
Public partial class Form1: Form
{
Form frm = null;
Public Form1 ()
{
InitializeComponent ();
This. Activated
)**************************************** ******************/VaR trackchanges = {Initialize: function _ Init (FRM ){If (! FRM) {// smart checkReturn;}VaR eles = FRM. elements;For (VAR I = 0, n = eles. length; I VaR ele = eles [I];// Alert (Ele. tagname + ":" + ELE. Type + ":" + ELE. Name + ":" + ELE. value );// 1. Omit the submit button (submit, reset, button, im
the pointer just now.If Assigned (somecomponet) then somecomponet: = nil;First check if this object is set to nil elsewhere,And then set it to nil.When we can't predict how the user will blow up his computer,Programmers must be mindful of memory management. Little brother's humble opinion ...3function Assigned (var P): Boolean;DescriptionUse Assigned to determine whether the pointer or procedure referenced by P is nil. P must be a variable reference of a pointer or procedural type. Assigned (P)
Windows API, when a form is activated, send another message
using System; using System.Windows.Forms; using System.Runtime.InteropServices; namespace WindowsApplication43 {p
Ublic partial class Form1:form {Form frm =null;
Public Form1 () {InitializeComponent (); This.
Activated + = form_activated;
const int wm_ncactivate = 0x86;
const int wa_active = 0x1; [DllImport ("user32.dll", EntryPoint = "SendMessage")] public static ex
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.